summaryrefslogtreecommitdiff
path: root/pcr/chroot-nspawn/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/chroot-nspawn/PKGBUILD')
-rw-r--r--pcr/chroot-nspawn/PKGBUILD19
1 files changed, 13 insertions, 6 deletions
diff --git a/pcr/chroot-nspawn/PKGBUILD b/pcr/chroot-nspawn/PKGBUILD
index 249a53327..80aed02ce 100644
--- a/pcr/chroot-nspawn/PKGBUILD
+++ b/pcr/chroot-nspawn/PKGBUILD
@@ -1,27 +1,34 @@
# Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
# Maintainer (Hyperbola): Márcio Silva <coadde@hyperbola.info>
# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+# Maintainer: David P. <megver83@parabola.nu>
-_pkgname=systemd-nspawn
pkgname=chroot-nspawn
pkgver=0.2.4
-pkgrel=1
+pkgrel=2
pkgdesc="A $_pkgname wrapper for chroot"
arch=(any)
url="https://git.hyperbola.info:50100/software/$pkgname.git"
license=(GPL3)
-#conflicts=(systemd)
-source=("https://repo.hyperbola.info:50000/sources/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
+source=("https://repo.hyperbola.info:50000/sources/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig}
+ 0001-Create-mount-points-if-mountpoint-exit-code-is-diffe.patch)
sha512sums=('155ee3418056e883d28f2e2dfd4165a78d147fc94b31ea287cf032e1b3ff6a5212fb4ddeeacfb69dc4e69f9c25c321693429f5814e65005ae4b6fd50d3c5f08a'
- 'SKIP')
+ 'SKIP'
+ 'f5746d8e5e317dc5084137158ab620a0caad15204a359f7626ee9c0ab9610b3c91eae64cddea8124932cc2d215792f8eec7bf14041942b3dfbc9a56477315e6f')
validpgpkeys=('684D54A189305A9CC95446D36B888913DDB59515') # Márcio Silva
+prepare() {
+ cd $pkgname-$pkgver
+
+ # https://issues.hyperbola.info/index.php?do=details&task_id=1567
+ patch -Np1 -i ../0001-Create-mount-points-if-mountpoint-exit-code-is-diffe.patch
+}
+
package() {
cd $pkgname-$pkgver
install -d -m755 $pkgdir/usr/bin
install -m755 $pkgname $pkgdir/usr/bin/$pkgname
-# ln -s $pkgname $pkgdir/usr/bin/$_pkgname
install -d -m755 "$pkgdir"/usr/share/licenses/$pkgname
install -m644 COPYING "$pkgdir"/usr/share/licenses/$pkgname