summaryrefslogtreecommitdiffstats
path: root/abs/core/iana-etc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'abs/core/iana-etc/PKGBUILD')
-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"
}