ptrcports/writevt/APKBUILD
2022-06-06 22:35:22 +02:00

24 lines
591 B
Text

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