pkgname: libnet pkgver: '1.3' pkgrel: '2' pkgdesc: 'Library for constructing and injecting network packets' url: 'https://libnet-dev.sf.net' arch: x86_64 license: - BSD depends: [] makedepends: [] source: - 'https://github.com/libnet/libnet/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz' sha256sums: - SKIP build: | cd ${pkgname}-${pkgver} export CFLAGS=$CFLAGS" -fPIC" ./configure --prefix=/usr --mandir=/usr/man sed -i 's/ sample//g' Makefile make make DESTDIR=${PKGDIR} install install -D -m 755 libnet-config ${PKGDIR}/usr/bin/libnet-config # Obsolet lib rm -f ${PKGDIR}/usr/lib/libnet.la install -Dm644 LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE package: | true