[arch-commits] Commit in iana-etc/trunk (PKGBUILD)

Dan McGee dan at archlinux.org
Mon Jun 27 17:40:46 UTC 2011


    Date: Monday, June 27, 2011 @ 13:40:46
  Author: dan
Revision: 129440

upgpkg: iana-etc 2.30-2
rebuild; add check function; bump file versions

Modified:
  iana-etc/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-06-27 17:20:02 UTC (rev 129439)
+++ PKGBUILD	2011-06-27 17:40:46 UTC (rev 129440)
@@ -2,13 +2,13 @@
 # Maintainer: Thomas Bächler <thomas at 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=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.bz2
+source=(http://sethwklein.net/iana-etc-2.30.tar.bz2
         Makefile.patch)
 sha256sums=('b9a6874fb20012836efef75452ef2acae624022d680feeb1994d73facba3f20d'
             '3e6db7adb8a67b765b8be65825f2a0e6c525eb42367385193c678af6b75d0321')
@@ -21,10 +21,16 @@
   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"
 }
 




More information about the arch-commits mailing list