summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--.gitignore4
-rw-r--r--PKGBUILD37
3 files changed, 26 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 306a76ab712..a82856775e6 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,14 @@
-# Generated by makepkg 5.0.0
-# Mon Feb 8 11:53:38 UTC 2016
pkgbase = linux-user-chroot
pkgdesc = setuid helper for making bind mounts and chrooting
pkgver = 2015.1
- pkgrel = 5
- url = http://git.gnome.org/browse/linux-user-chroot/tree/README
+ pkgrel = 6
+ url = https://gitlab.gnome.org/Archive/linux-user-chroot/
arch = i686
arch = x86_64
license = GPL
depends = libseccomp
- source = https://git.gnome.org/browse/linux-user-chroot/snapshot/linux-user-chroot-2015.1.tar.gz
- sha512sums = 0eb351a261a851765e50acdb50d09f49be1c2e14ecd7055a9578dd318b71aa3c38627394151e782c8ff143bf3787e78d54753e9d1de78b134bcbd5a57999fd8c
+ source = https://gitlab.gnome.org/Archive/linux-user-chroot//-/archive/v2015.1/linux-user-chroot-v2015.1.tar.bz2
+ sha512sums = c3356b0d91b70b753ba2bf6d5b67ce6c8f4c5a1620ec88fdcf434bbe57c014ec363739e6ba1f40d67af25f002554d58990c8ab34f6c71e87a6cb3427a37cb392
pkgname = linux-user-chroot
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..5db79a8263e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,4 @@
+/pkg/
+/src/
+/*.tar
+/*.tar.*
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
}
-