ptrcports/writevt/APKBUILD

25 lines
769 B
Text

# Contributor: Patrycja Rosa <alpine@ptrcnull.me>
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
pkgname=writevt
pkgver=0_git20221219
pkgrel=0
_gitrev="e9947eef78fa0d0fa8c343e204832802384a91e7"
pkgdesc="simulate input to terminal"
url="https://github.com/grawity/code/blob/master/thirdparty/writevt.c"
arch="all"
license="i have no idea"
source="$pkgname-$pkgver.tar.gz::https://github.com/grawity/code/archive/$_gitrev.tar.gz"
builddir="$srcdir/code-$_gitrev/thirdparty"
options="!check"
build() {
gcc -O2 -o writevt writevt.c
}
package() {
install -Dm755 writevt -t "$pkgdir"/usr/bin
}
sha512sums="
58a6a0c4cfc416edb8d75a73085b1366a33cf6304484fba3119b908f49c504cd35d512a4034e0009217a59587542bcfefeb1d46f8e37bd7d7c23b62af8de4c5d writevt-0_git20221219.tar.gz
"