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

Sergej Pupykin spupykin at archlinux.org
Mon Oct 3 15:49:15 UTC 2016


    Date: Monday, October 3, 2016 @ 15:49:14
  Author: spupykin
Revision: 191258

upgpkg: igmpproxy 0.1.20161003next-1

upd

Modified:
  igmpproxy/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++++-------
 1 file changed, 14 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2016-10-03 13:49:24 UTC (rev 191257)
+++ PKGBUILD	2016-10-03 15:49:14 UTC (rev 191258)
@@ -4,27 +4,34 @@
 # Contributor: sda <sda00 at himki.net>
 
 pkgname=igmpproxy
-pkgver=0.1
-pkgrel=3
+pkgver=0.1.20161003next
+pkgrel=1
+_commit=17de79cc3ec459f5660616573d6edd0b2288b664
 pkgdesc="a simple multicast router for Linux only using the IGMP protocol"
 arch=(i686 x86_64)
-url="http://sourceforge.net/projects/igmpproxy"
+url="https://github.com/pali/igmpproxy"
 license=('GPL')
 depends=()
+makedepends=('git')
 backup=("etc/igmpproxy.conf")
-source=("http://downloads.sourceforge.net/sourceforge/igmpproxy/igmpproxy-$pkgver.tar.gz"
+source=("git://github.com/pali/igmpproxy.git#commit=${_commit}"
 	"igmpproxy.service")
-md5sums=('c56f41ec195bc1fe016369bf74efc5a1'
+md5sums=('SKIP'
          '2a4387442ce00297d97371f729f8b21e')
 
+prepare() {
+  cd $srcdir/$pkgname
+  ./bootstrap
+}
+
 build() {
-  cd $srcdir/$pkgname-$pkgver
+  cd $srcdir/$pkgname
   ./configure --prefix=/usr --sysconfdir=/etc --sbindir=/usr/bin
   make
 }
 
 package() {
-  cd $srcdir/$pkgname-$pkgver
+  cd $srcdir/$pkgname
   make DESTDIR=$pkgdir install
   install -Dm644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
 }



More information about the arch-commits mailing list