summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/firejail/PKGBUILD39
-rw-r--r--pcr/firejail/PKGBUILD.sigbin0 -> 543 bytes
2 files changed, 39 insertions, 0 deletions
diff --git a/pcr/firejail/PKGBUILD b/pcr/firejail/PKGBUILD
new file mode 100644
index 000000000..00503d8ad
--- /dev/null
+++ b/pcr/firejail/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: Luke R. <g4jc@openmailbox.org> GPG: rsa4096/3EAE8697
+# Contributor (Arch): ajs124 < aur AT ajs124 DOT de >
+
+pkgname=firejail
+pkgver=0.9.28
+pkgrel=1
+pkgdesc="Linux namespaces sandbox program"
+arch=(i686 x86_64)
+license=(GPL2)
+url=https://l3net.wordpress.com/projects/firejail/
+backup=(etc/firejail/login.users)
+source=("https://downloads.sourceforge.net/project/$pkgname/$pkgname/$pkgname-$pkgver-rc1.tar.bz2"
+'PKGBUILD'
+'PKGBUILD.sig')
+validpgpkeys=('CB6E213A349B8DF9E96B622AC3F4FFCF3EAE8697') # PKGBUILD Maintainer's key
+sha512sums=('11343f51e1985483896a65dc21c4d9f82fe863649b817bab3cf748a198f67687114966558abb6029e0055984ce59262022f33a9bf74ba27ed2425592b32e5432'
+'SKIP'
+'SKIP')
+whirlpoolsums=('02f9c641e91b4959383f3d61e03cc467a85f5bd7bdec52b137c061cec144573f7f3ecab47fa390aac6f497423fdac3adfd992e2851b32f9435c0e746fba730ca'
+'SKIP'
+'SKIP')
+
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}-rc1"
+ sed -i '\|bash -c "if \[ ! -f /etc/firejail/login\.users | s|bash -c ".*"$|install -c -m 0644 etc/login.users $(DESTDIR)/etc/firejail/\.|' Makefile.in ## Fix "backup entry file not in packag" warning.
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}-rc1"
+ # fix build
+ export CFLAGS=${CFLAGS/-fsanitize=undefined/}
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}-rc1"
+ make DESTDIR="${pkgdir}" install
+} \ No newline at end of file
diff --git a/pcr/firejail/PKGBUILD.sig b/pcr/firejail/PKGBUILD.sig
new file mode 100644
index 000000000..3704c880c
--- /dev/null
+++ b/pcr/firejail/PKGBUILD.sig
Binary files differ