summaryrefslogtreecommitdiff
path: root/libre/libretools/PKGBUILD
diff options
context:
space:
mode:
authorMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-06-24 20:10:17 -0300
committerMárcio Alexandre Silva Delgado <coadde@lavabit.com>2013-06-24 20:10:17 -0300
commit1696b858277be08beb68a3bb9bb30984b57097a6 (patch)
tree0b67c705956a32aca8a95cbc9c7856c7f0c025bd /libre/libretools/PKGBUILD
parenta4c5032b21eb49cb04d9b00dfb990fa9b1fa4a1c (diff)
parent003c376c2f2d73ec9730965992d9e6364de1bceb (diff)
downloadabslibre-1696b858277be08beb68a3bb9bb30984b57097a6.tar.gz
abslibre-1696b858277be08beb68a3bb9bb30984b57097a6.tar.bz2
abslibre-1696b858277be08beb68a3bb9bb30984b57097a6.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'libre/libretools/PKGBUILD')
-rw-r--r--libre/libretools/PKGBUILD22
1 files changed, 16 insertions, 6 deletions
diff --git a/libre/libretools/PKGBUILD b/libre/libretools/PKGBUILD
index 49dc7feb2..dcf59bda4 100644
--- a/libre/libretools/PKGBUILD
+++ b/libre/libretools/PKGBUILD
@@ -4,13 +4,13 @@
# Contributor: Márcio Silva <coadde@lavabit.com>
pkgbase=libretools
-pkgname=(libretools libretools-mips64el)
+pkgname=(libretools libretools-mips64el librelib)
pkgdesc="Programs for Parabola development"
url="https://projects.parabolagnulinux.org/packages/libretools.git/"
license=('GPL3' 'GPL2')
-pkgver=20130611
-_libretools_commit=e6944bc03f587ad177c6b825e3f4c116fb9b9b12
+pkgver=20130622
+_libretools_commit=5dd6e17100a86b79a3fd6fedc8cce49dcc298356
_devtools_commit=bf8513ae631484a0c292ad085ea7ede9859f8e0f
_packages_url=https://projects.parabolagnulinux.org/packages
@@ -26,7 +26,7 @@ build() {
cd "$srcdir"
ln -sf devtools-par-$_devtools_commit devtools-par
cd "$srcdir/$pkgbase-$_libretools_commit"
- make build-libretools build-libretools-mips64el build-doc
+ make build-libretools build-libretools-mips64el build-librelib build-doc
}
check() {
@@ -35,6 +35,16 @@ check() {
make check TESTENVFLAGS='--no-network --no-sudo'
}
+package_librelib() {
+ pkgdesc="Shell library portion of libretools"
+ depends=(
+ wget # `aur` and `lib/blacklist.sh`
+ )
+
+ cd "$srcdir/$pkgbase-$_libretools_commit"
+ make install-librelib DESTDIR="$pkgdir"
+}
+
package_libretools() {
backup=(etc/libretools.conf etc/libretools.d/chroot.conf etc/libretools.d/librefetch.conf)
install=libretools.install
@@ -42,13 +52,13 @@ package_libretools() {
conflicts=(devtools)
depends=(
+ "librelib=$pkgver"
arch-install-scripts # `archroot` uses `pacstrap`
git # `createworkdir` (also mips-add in -mips64el)
openssh # `librerelease`
rsync # `librerelease` and `makechrootpkg.sh`
subversion # `diff-unfree`
tokyocabinet # `treepkg`
- wget # `aur` and `lib/blacklist.sh`
)
optdepends=('namcap: to check package files')
@@ -64,5 +74,5 @@ package_libretools-mips64el() {
make install-libretools-mips64el DESTDIR="$pkgdir"
}
-md5sums=('3d5645488481fab48954e194274f70ac'
+md5sums=('a5a5029740cef767b8e731ab8c48890b'
'b28b1492fda205be7c577fc03cbc3399')