[arch-commits] Commit in packeth/repos (2 files)

Evangelos Foutras foutrelis at archlinux.org
Tue Jul 7 21:18:40 UTC 2020


    Date: Tuesday, July 7, 2020 @ 21:18:39
  Author: foutrelis
Revision: 660322

archrelease: copy trunk to community-staging-x86_64

Added:
  packeth/repos/community-staging-x86_64/
  packeth/repos/community-staging-x86_64/PKGBUILD
    (from rev 660321, packeth/trunk/PKGBUILD)

----------+
 PKGBUILD |   33 +++++++++++++++++++++++++++++++++
 1 file changed, 33 insertions(+)

Copied: packeth/repos/community-staging-x86_64/PKGBUILD (from rev 660321, packeth/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 21:18:39 UTC (rev 660322)
@@ -0,0 +1,33 @@
+# 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=2.1
+pkgrel=2
+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 packETH-${pkgver}
+  CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd packETH-${pkgver}
+  make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list