summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-22 15:17:36 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2015-09-22 15:18:24 -0300
commitbdf85ec70e5ac2342db04fe6ac7a9fa72fa24ed0 (patch)
tree2723909853e3318f675306488e7afab6549f3c7a
parent273cf491b0199b4e00c72a4cf375e2fd85f7961a (diff)
downloadabslibre-bdf85ec70e5ac2342db04fe6ac7a9fa72fa24ed0.tar.gz
abslibre-bdf85ec70e5ac2342db04fe6ac7a9fa72fa24ed0.tar.bz2
abslibre-bdf85ec70e5ac2342db04fe6ac7a9fa72fa24ed0.zip
add proot to [libre] repo
-rw-r--r--libre/proot/PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/libre/proot/PKGBUILD b/libre/proot/PKGBUILD
new file mode 100644
index 000000000..a2b858b22
--- /dev/null
+++ b/libre/proot/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer (Arch): Nicolas Cornu <ncornu@aldebaran-robotics.com>
+# Maintainer: Márcio Silva <coadde@parabola.nu>
+
+pkgname=proot
+_pkgname=PRoot
+pkgver=5.1.0
+pkgrel=2
+pkgdesc="chroot, mount --bind, and binfmt_misc without privilege/setup"
+arch=('i686' 'x86_64')
+url="http://proot.me"
+license=('GPL')
+provides=('proot')
+depends=('talloc')
+makedepends=('python-docutils' 'libxslt')
+source=(${pkgname}-v${pkgver}.tar.gz::https://github.com/cedric-vincent/${_pkgname}/archive/v${pkgver}.tar.gz)
+sha1sums=('7aaffddb8f955dc1015402846768a5e755294579')
+
+build() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}/src
+ make -f GNUmakefile
+
+ cd "${srcdir}"/${_pkgname}-${pkgver}/doc
+ make -f GNUmakefile
+}
+
+package() {
+ cd "${srcdir}"/${_pkgname}-${pkgver}
+
+ install -m755 -d "${pkgdir}"/usr/bin
+ install -m755 src/${pkgname} "${pkgdir}"/usr/bin
+
+ install -m755 -d "${pkgdir}"/usr/share/man/man1/
+ install -m644 -T doc/proot/man.1 "${pkgdir}"/usr/share/man/man1/${pkgname}.1
+
+ install -m755 -d "${pkgdir}"/usr/share/doc/proot/
+ install -m644 doc/proot/changelog.txt "${pkgdir}"/usr/share/doc/proot
+ install -m644 doc/proot/index.html "${pkgdir}"/usr/share/doc/proot
+ install -m644 doc/proot/manual.txt "${pkgdir}"/usr/share/doc/proot
+ install -m644 doc/proot/roadmap.txt "${pkgdir}"/usr/share/doc/proot
+
+ install -m755 -d "${pkgdir}"/usr/share/doc/proot/stylesheets
+ install -m644 doc/proot/stylesheets/* "${pkgdir}"/usr/share/doc/proot/stylesheets
+}
+
+# vim: ft=sh syn=sh et