Date: Sunday, May 24, 2020 @ 13:30:03 Author: lfleischer Revision: 632821
archrelease: copy trunk to community-x86_64 Added: ngrep/repos/community-x86_64/PKGBUILD (from rev 632820, ngrep/trunk/PKGBUILD) Deleted: ngrep/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 72 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 36 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-05-24 13:29:34 UTC (rev 632820) +++ PKGBUILD 2020-05-24 13:30:03 UTC (rev 632821) @@ -1,36 +0,0 @@ -# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> -# Contributor: Eric Belanger <e...@archlinux.org> -# Contributor: dorphell <dorph...@archlinux.org> - -pkgname=ngrep -pkgver=1.47 -_pkgver="${pkgver/./_}" -pkgrel=1 -pkgdesc='A grep-like utility that allows you to search for network packets on an interface.' -arch=('x86_64') -url='https://github.com/jpr5/ngrep/' -license=('custom') -depends=('libpcap>=1.0.0' 'pcre') -source=("https://github.com/jpr5/ngrep/archive/V${_pkgver}.tar.gz") -md5sums=('03cb1229ad586495852ea316262e8f38') - -build() { - cd "${srcdir}/${pkgname}-${_pkgver}" - - export EXTRA_INCLUDES=$(pcre-config --cflags) - export EXTRA_LIBS=$(pcre-config --libs) - - ./configure --prefix=/usr \ - --with-pcap-includes=/usr/include/pcap\ - --enable-ipv6 \ - --enable-pcre \ - --disable-pcap-restart - make -} - -package() { - cd "${srcdir}/${pkgname}-${_pkgver}" - - make DESTDIR="${pkgdir}" install - install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: ngrep/repos/community-x86_64/PKGBUILD (from rev 632820, ngrep/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-05-24 13:30:03 UTC (rev 632821) @@ -0,0 +1,36 @@ +# Maintainer: Lukas Fleischer <lfleisc...@archlinux.org> +# Contributor: Eric Belanger <e...@archlinux.org> +# Contributor: dorphell <dorph...@archlinux.org> + +pkgname=ngrep +pkgver=1.47 +_pkgver="${pkgver/./_}" +pkgrel=2 +pkgdesc='A grep-like utility that allows you to search for network packets on an interface.' +arch=('x86_64') +url='https://github.com/jpr5/ngrep/' +license=('custom') +depends=('libpcap>=1.0.0' 'pcre') +source=("https://github.com/jpr5/ngrep/archive/V${_pkgver}.tar.gz") +md5sums=('03cb1229ad586495852ea316262e8f38') + +build() { + cd "${srcdir}/${pkgname}-${_pkgver}" + + export EXTRA_INCLUDES=$(pcre-config --cflags) + export EXTRA_LIBS=$(pcre-config --libs) + + ./configure --prefix=/usr \ + --with-pcap-includes=/usr/include/pcap\ + --enable-ipv6 \ + --enable-pcre \ + --disable-pcap-restart + make +} + +package() { + cd "${srcdir}/${pkgname}-${_pkgver}" + + make DESTDIR="${pkgdir}" install + install -Dm0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +}