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:
parent
09c4ba9e21
commit
cdea3b1578
1 changed files with 3 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue