keepfileopen: fix builddir

Signed-off-by: Jens Reidel <adrian@postmarketos.org>
Co-authored-by: Pablo Correa Gómez <pabloyoyoista@postmarketos.org>
Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7436>
This commit is contained in:
Jens Reidel 2025-11-28 09:48:34 +01:00 committed by The Friendly Merge Bot
parent 09c4ba9e21
commit cdea3b1578
No known key found for this signature in database

View file

@ -1,20 +1,21 @@
# Maintainer: Minecrell <minecrell@minecrell.net>
pkgname=keepfileopen
pkgver=1
pkgrel=0
pkgrel=1
pkgdesc="Small utility to keep a file open. Yes, that's all it does :)"
url="https://postmarketos.org"
arch="all"
license="MIT"
source="keepfileopen.c"
options="!check" # No tests. Not much can go wrong here...
builddir="$srcdir"
build() {
gcc -o keepfileopen keepfileopen.c
}
package() {
install -Dm755 "$srcdir"/keepfileopen "$pkgdir"/usr/bin/keepfileopen
install -Dm755 keepfileopen "$pkgdir"/usr/bin/keepfileopen
}
sha512sums="ac9ed0f6ec07ef813ce3a539919acbe8a5a70d5765a5fff267674a3fb239cdb1dba58a14d72a64f990bdcb87c6476d30ef7add21f152df7cb48e36932ef14dbb keepfileopen.c"