diff --git a/PKGBUILD b/PKGBUILD index 3c705fa..b56bda2 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,7 +10,7 @@ pkgdesc='A grep-like utility that allows you to search for network packets on an arch=('x86_64') url='https://github.com/jpr5/ngrep/' license=('custom') -depends=('libpcap>=1.0.0' 'pcre') +depends=('libpcap>=1.0.0') source=("https://github.com/jpr5/ngrep/archive/V${_pkgver}.tar.gz") md5sums=('03cb1229ad586495852ea316262e8f38') sha256sums=('dc4dbe20991cc36bac5e97e99475e2a1522fd88c59ee2e08f813432c04c5fff3') @@ -18,13 +18,9 @@ sha256sums=('dc4dbe20991cc36bac5e97e99475e2a1522fd88c59ee2e08f813432c04c5fff3') 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 }