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

Levente Polyak anthraxx at archlinux.org
Thu Aug 8 20:56:11 UTC 2019


    Date: Thursday, August 8, 2019 @ 20:56:10
  Author: anthraxx
Revision: 498375

upgpkg: packeth 2.1-1

Modified:
  packeth/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++++++++-----------
 1 file changed, 18 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-08 20:06:26 UTC (rev 498374)
+++ PKGBUILD	2019-08-08 20:56:10 UTC (rev 498375)
@@ -1,25 +1,32 @@
-# Maintainer: Timothy Redaelli <timothy.redaelli at gmail.com>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Timothy Redaelli <timothy.redaelli at gmail.com>
 # Contributor: Rudy Matela <rudy.matela at gmail.com>
 
 pkgname=packeth
-pkgver=1.9
+pkgver=2.1
 pkgrel=1
-pkgdesc="A Linux GUI packet generator tool for ethernet."
-depends=(gtk2)
-source=("https://downloads.sourceforge.net/packeth/packETH-$pkgver.tar.bz2")
-url="http://packeth.sourceforge.net/"
-sha512sums=('f322130a5981412f109555c52f9ae0b1c92e4f2a4c9a0ec2a62abeef368ade1ef08d5152724a6351fd626ef1dee4b5b98a61b250efd2391e4d61976d4ae4c50d')
+pkgdesc='Linux GUI packet generator tool for ethernet'
+url='http://packeth.sourceforge.net/'
 arch=('x86_64')
 license=('GPL')
+depends=('gtk2')
+source=(https://github.com/jemcek/packETH/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('55be4a2eb517c1d040664ea1a16d59dab20b06edbbd073cbf709deb4dfcec8d8eb12b88dfbd578f9bdb0ca614036ac4bbb00be6f865b774da2aa62ce8d3d767e')
 
+prepare() {
+  cd packETH-${pkgver}
+  autoreconf -fiv
+}
+
 build() {
-  cd "$srcdir"/packETH-$pkgver
-
+  cd packETH-${pkgver}
   ./configure --prefix=/usr
   make
 }
 
 package() {
-  cd "$srcdir"/packETH-$pkgver
-  make install DESTDIR="$pkgdir/"
+  cd packETH-${pkgver}
+  make DESTDIR="${pkgdir}" install
 }
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list