summaryrefslogtreecommitdiffstats
path: root/abs
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2012-08-07 02:33:34 (GMT)
committerJames Meyer <james.meyer@operamail.com>2012-08-07 02:33:34 (GMT)
commit1e3c65c23cc0bd339a0de0a16608c9f2f2609182 (patch)
tree0fa9960c43768e9a1e727e33c2750e409d5842b5 /abs
parent31e8389f7395e45430230538b4a598392af6cb76 (diff)
downloadlinhes_pkgbuild-1e3c65c23cc0bd339a0de0a16608c9f2f2609182.zip
linhes_pkgbuild-1e3c65c23cc0bd339a0de0a16608c9f2f2609182.tar.gz
linhes_pkgbuild-1e3c65c23cc0bd339a0de0a16608c9f2f2609182.tar.bz2
iana-etc 2.30
Diffstat (limited to 'abs')
-rw-r--r--abs/core/iana-etc/PKGBUILD14
1 files changed, 10 insertions, 4 deletions
diff --git a/abs/core/iana-etc/PKGBUILD b/abs/core/iana-etc/PKGBUILD
index 1c528a6..ef85afb 100644
--- a/abs/core/iana-etc/PKGBUILD
+++ b/abs/core/iana-etc/PKGBUILD
@@ -1,14 +1,14 @@
-# $Id: PKGBUILD 86037 2010-07-23 23:13:34Z thomas $
+# $Id: PKGBUILD 129440 2011-06-27 17:40:46Z dan $
# Maintainer: Thomas Bächler <thomas@archlinux.org>
pkgname=iana-etc
pkgver=2.30
-pkgrel=1
+pkgrel=2
pkgdesc="/etc/protocols and /etc/services provided by IANA"
arch=('any')
url="http://sethwklein.net/iana-etc"
license=('custom')
makedepends=('awk')
-source=(http://sethwklein.net/$pkgname-$pkgver.tar.bz2
+source=(http://sethwklein.net/iana-etc-2.30.tar.bz2
Makefile.patch)
sha256sums=('b9a6874fb20012836efef75452ef2acae624022d680feeb1994d73facba3f20d'
'3e6db7adb8a67b765b8be65825f2a0e6c525eb42367385193c678af6b75d0321')
@@ -21,10 +21,16 @@ build() {
make
}
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make test
+}
+
package() {
cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR="$pkgdir/" install
+ make DESTDIR="$pkgdir" install
install -D -m644 COPYING "$pkgdir/usr/share/licenses/iana-etc/LICENSE"
}