ptrcports/writevt/APKBUILD

26 lines
780 B
Text
Raw Normal View History

2022-06-06 20:35:22 +00:00
# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=writevt
2023-01-08 12:40:02 +00:00
pkgver=0_git20221219
2022-06-06 20:35:22 +00:00
pkgrel=0
2023-01-08 12:40:02 +00:00
_gitrev="e9947eef78fa0d0fa8c343e204832802384a91e7"
2022-06-06 20:35:22 +00:00
pkgdesc="simulate input to terminal"
url="https://github.com/grawity/code/blob/master/thirdparty/writevt.c"
2023-05-03 01:11:45 +00:00
arch="aarch64 x86_64"
2022-06-06 20:35:22 +00:00
license="i have no idea"
2023-01-08 12:40:02 +00:00
source="$pkgname-$pkgver.tar.gz::https://github.com/grawity/code/archive/$_gitrev.tar.gz"
builddir="$srcdir/code-$_gitrev/thirdparty"
2022-06-06 20:35:22 +00:00
options="!check"
build() {
gcc -O2 -o writevt writevt.c
}
package() {
install -Dm755 writevt -t "$pkgdir"/usr/bin
}
sha512sums="
2023-01-08 12:40:02 +00:00
58a6a0c4cfc416edb8d75a73085b1366a33cf6304484fba3119b908f49c504cd35d512a4034e0009217a59587542bcfefeb1d46f8e37bd7d7c23b62af8de4c5d writevt-0_git20221219.tar.gz
2022-06-06 20:35:22 +00:00
"