summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD37
1 files changed, 18 insertions, 19 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e83ede405aa..7caedaca4ee 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,27 +1,26 @@
# Maintainer: Adrián Pérez de Castro <aperez@igalia.com>
-pkgname='linux-user-chroot'
-pkgver='2015.1'
-pkgrel='5'
+pkgname=linux-user-chroot
+pkgver=2015.1
+pkgrel=6
pkgdesc='setuid helper for making bind mounts and chrooting'
-url='http://git.gnome.org/browse/linux-user-chroot/tree/README'
-arch=('i686' 'x86_64')
-license=('GPL')
-depends=('libseccomp')
-source=("https://git.gnome.org/browse/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('0eb351a261a851765e50acdb50d09f49be1c2e14ecd7055a9578dd318b71aa3c38627394151e782c8ff143bf3787e78d54753e9d1de78b134bcbd5a57999fd8c')
+url='https://gitlab.gnome.org/Archive/linux-user-chroot/'
+arch=(i686 x86_64)
+license=(GPL)
+depends=(libseccomp)
+source=("${url}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.bz2")
+sha512sums=('c3356b0d91b70b753ba2bf6d5b67ce6c8f4c5a1620ec88fdcf434bbe57c014ec363739e6ba1f40d67af25f002554d58990c8ab34f6c71e87a6cb3427a37cb392')
build () {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./autogen.sh --prefix=/usr
- make
+ cd "${srcdir}/${pkgname}-v${pkgver}"
+ ./autogen.sh --prefix=/usr
+ make
}
package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make install DESTDIR="${pkgdir}"
- chmod +s "${pkgdir}/usr/bin"/linux-user-chroot
- for doc in README NEWS ; do
- install -Dm644 "${doc}" "${pkgdir}/usr/share/doc/${pkgname}/${doc}"
- done
+ cd "${srcdir}/${pkgname}-v${pkgver}"
+ make install DESTDIR="${pkgdir}"
+ chmod +s "${pkgdir}/usr/bin"/linux-user-chroot
+ for doc in README NEWS ; do
+ install -Dm644 "${doc}" "${pkgdir}/usr/share/doc/${pkgname}/${doc}"
+ done
}
-