summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/libretools/PKGBUILD33
1 files changed, 13 insertions, 20 deletions
diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD
index f3f8f92e8..829a47bc8 100644
--- a/libre/libretools/PKGBUILD
+++ b/libre/libretools/PKGBUILD
@@ -9,30 +9,22 @@ pkgdesc="Programs for Parabola development"
url="https://projects.parabola.nu/packages/libretools.git/"
license=('GPL3' 'GPL2')
-pkgver=20150607
-_libretools_commit=9c26929bb8f7279620bff5db68ee9291eef393b3
-_devtools_commit=c271ab745f80167f452ee6afa1ff430c2f1523b0
-md5sums=('32fab6c2c214bc1a233b55fa8a767b2b'
- 'ffee2c79249bd9727826c39946934a08')
+pkgver=20160208
+source=(https://repo.parabola.nu/other/$pkgname/$pkgname-$pkgver.tar.gz)
+md5sums=('a8b1a34b575f559a70cdcba0a4ded64f')
-_packages_url=https://projects.parabola.nu/packages
-source=($_packages_url/libretools.git/snapshot/libretools-$_libretools_commit.tar.bz2
- $_packages_url/devtools-par.git/snapshot/devtools-par-$_devtools_commit.tar.bz2)
-
-pkgrel=7
+pkgrel=1
arch=('any')
makedepends=(emacs ruby-ronn) # emacs --batch is used during the build to process text
checkdepends=(sh-roundup git)
build() {
- cd "$srcdir"
- ln -sf devtools-par-$_devtools_commit devtools-par
- cd "$srcdir/$pkgbase-$_libretools_commit"
+ cd "$srcdir/$pkgbase-$pkgver"
make
}
check() {
- cd "$srcdir/$pkgbase-$_libretools_commit"
+ cd "$srcdir/$pkgbase-$pkgver"
SUDO_USER= make check TESTENVFLAGS='--no-network --no-sudo'
}
@@ -44,7 +36,7 @@ package_librelib() {
wget # `blacklist`
)
- cd "$srcdir/$pkgbase-$_libretools_commit"
+ cd "$srcdir/$pkgbase-$pkgver"
make install-librelib DESTDIR="$pkgdir"
}
@@ -57,7 +49,7 @@ package_gitget() {
conflicts=("libregit")
replaces=("libregit")
- cd "$srcdir/$pkgbase-$_libretools_commit"
+ cd "$srcdir/$pkgbase-$pkgver"
make install-gitget DESTDIR="$pkgdir"
}
@@ -72,7 +64,7 @@ package_xbs() {
subversion # `helper-abs`
)
- cd "$srcdir/$pkgbase-$_libretools_commit"
+ cd "$srcdir/$pkgbase-$pkgver"
make install-xbs DESTDIR="$pkgdir"
}
@@ -88,8 +80,9 @@ package_libretools() {
depends=(
"librelib=$pkgver"
"xbs=$pkgver" # `createworkdir`, `librestage`
- 'pacman>=4.2.0' 'pacman<4.3.0'
+ 'pacman>=5.0.0' 'pacman<5.1'
arch-install-scripts # `mkarchroot` uses `pacstrap`
+ make # `librefetch`
openssh # `librerelease`
rsync # `librerelease` and `makechrootpkg.sh`
systemd # systemd-nspawn
@@ -99,6 +92,6 @@ package_libretools() {
#wget # `aur` # ignore because of librelib
)
- cd "$srcdir/$pkgbase-$_libretools_commit"
- make install-libretools install-doc DESTDIR="$pkgdir"
+ cd "$srcdir/$pkgbase-$pkgver"
+ make install-libretools DESTDIR="$pkgdir"
}