diff --git a/PKGBUILD b/PKGBUILD index 3c705fa..464283f 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -15,12 +15,13 @@ source=("https://github.com/jpr5/ngrep/archive/V${_pkgver}.tar.gz") md5sums=('03cb1229ad586495852ea316262e8f38') sha256sums=('dc4dbe20991cc36bac5e97e99475e2a1522fd88c59ee2e08f813432c04c5fff3') +prepare() { + sed -i 's/test use_pcre = yes/test $use_pcre = yes/' ${pkgname}-${_pkgver}/configure +} + 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 \