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

Sébastien Luttringer seblu at archlinux.org
Sat Jul 27 22:33:36 UTC 2019


    Date: Saturday, July 27, 2019 @ 22:33:35
  Author: seblu
Revision: 358665

upgpkg: ipset 7.3-1

Modified:
  ipset/trunk/PKGBUILD

----------+
 PKGBUILD |   15 +++++++--------
 1 file changed, 7 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-27 22:28:03 UTC (rev 358664)
+++ PKGBUILD	2019-07-27 22:33:35 UTC (rev 358665)
@@ -1,7 +1,7 @@
 # Maintainer: Sébastien Luttringer
 
 pkgname=ipset
-pkgver=7.2
+pkgver=7.3
 pkgrel=1
 pkgdesc='Administration tool for IP sets'
 arch=('x86_64')
@@ -9,13 +9,13 @@
 license=('GPL2')
 depends=('glibc' 'libmnl')
 backup=("etc/$pkgname.conf")
-source=("http://ipset.netfilter.org/$pkgname-$pkgver.tar.bz2"
+source=("git://git.netfilter.org/ipset.git#tag=v$pkgver"
         "$pkgname.service")
-md5sums=('9eef4a237f9ccec48744836ee1497dba'
+md5sums=('SKIP'
          'e20fe62881993078591f1bb8b2fa22bb')
 
 prepare() {
-  cd $pkgname-$pkgver
+  cd $pkgname
   # apply patch from the source array (should be a pacman feature)
   local filename
   for filename in "${source[@]}"; do
@@ -25,18 +25,17 @@
     fi
   done
   :
-  # needed because we patch configure.ac (TO BE REMOVED)
-  ./autogen.sh
 }
 
 build() {
-  cd $pkgname-$pkgver
+  cd $pkgname
+  ./autogen.sh
   ./configure --prefix=/usr --sbindir=/usr/bin --with-kmod=no
   make
 }
 
 package() {
-  pushd $pkgname-$pkgver
+  pushd $pkgname
   make DESTDIR="$pkgdir" install
   # install doc
   install -dm755 "$pkgdir/usr/share/doc/$pkgname"



More information about the arch-commits mailing list