diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-09-08 13:15:13 +0200 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2016-09-08 13:16:15 +0200 |
commit | 6c8eb265a247fcdb9e15c08e57fb16c0e227db36 (patch) | |
tree | 32b395df99df793ed1181e35e5ec64bf25e4cffe /community/firejail | |
parent | 26f81a0d1b257cf5cfd3a8598db2420a8f43136c (diff) | |
download | aports-6c8eb265a247fcdb9e15c08e57fb16c0e227db36.tar.bz2 aports-6c8eb265a247fcdb9e15c08e57fb16c0e227db36.tar.xz |
community/firejail: fix few issues in abuild
Diffstat (limited to 'community/firejail')
-rw-r--r-- | community/firejail/APKBUILD | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/community/firejail/APKBUILD b/community/firejail/APKBUILD index 9dd13c7a29..3ed5931491 100644 --- a/community/firejail/APKBUILD +++ b/community/firejail/APKBUILD @@ -9,9 +9,7 @@ url="https://firejail.wordpress.com/" arch="all !armhf !aarch64" license="GPL2" depends="bash" -depends_dev="" -makedepends="$depends_dev linux-headers" -install="" +makedepends="linux-headers" options="suid" subpackages="$pkgname-doc $pkgname-bash-completion:bashcomp" source="$pkgname-$pkgver.tar.gz::https://github.com/netblue30/$pkgname/archive/$_pkgver.tar.gz" @@ -19,9 +17,10 @@ builddir="$srcdir/$pkgname-$_pkgver" prepare() { default_prepare || return 1 + find "$builddir" -name Makefile.in -exec sed -i -r \ -e '/CFLAGS/s: (-O2|-ggdb) : :g' \ - -e '1iCC=@CC@' {} + || die + -e '1iCC=@CC@' {} + } build() { @@ -38,10 +37,11 @@ build() { } bashcomp() { - depends="" - pkgdesc="Bash completions for $pkgname" - install_if="$pkgname=$pkgver-r$pkgrel bash" - arch="noarch" + pkgdesc="Bash completions for $pkgname" + arch="noarch" + depends="bash" + install_if="$pkgname=$pkgver-r$pkgrel bash" + mkdir -p "$subpkgdir"/usr mv "$pkgdir"/usr/share "$subpkgdir"/usr/ } |