summaryrefslogtreecommitdiff
path: root/pcr/chroot-nspawn
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2017-10-25 02:11:59 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2017-10-25 02:11:59 -0500
commit622f4733ae81374c7b6840ded03ade10fc72333f (patch)
treee6c0dd1d5f4269409041ad9d8fa043c00bda4ac8 /pcr/chroot-nspawn
parent2876c1d739d8ae6a8532935a896f858e4d55d2bf (diff)
downloadabslibre-622f4733ae81374c7b6840ded03ade10fc72333f.tar.gz
abslibre-622f4733ae81374c7b6840ded03ade10fc72333f.tar.bz2
abslibre-622f4733ae81374c7b6840ded03ade10fc72333f.zip
chroot-nspawn: add new package to [pcr]
Diffstat (limited to 'pcr/chroot-nspawn')
-rw-r--r--pcr/chroot-nspawn/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/pcr/chroot-nspawn/PKGBUILD b/pcr/chroot-nspawn/PKGBUILD
new file mode 100644
index 000000000..59ae13f46
--- /dev/null
+++ b/pcr/chroot-nspawn/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer (Hyperbola): André Silva <emulatorman@hyperbola.info>
+# Maintainer (Hyperbola): Márcio Silva <coadde@hyperbola.info>
+# Maintainer: Omar Vega Ramos <ovruni@gnu.org.pe>
+
+_pkgname=systemd-nspawn
+pkgname=chroot-nspawn
+pkgver=0.2.3
+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})
+sha512sums=('4e698ab6aedb382581accd88d0af5a96078d70090d0a988da605688e8b9bae568c13475238f898810d6794a8a54d6f4c4787282bb9ec1ca228194f36ba1f2045'
+ 'SKIP')
+validpgpkeys=('684D54A189305A9CC95446D36B888913DDB59515') # Márcio Silva
+
+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
+}