diff options
author | Chris Severance | 2024-01-04 03:21:06 -0500 |
---|---|---|
committer | Chris Severance | 2024-01-04 03:21:06 -0500 |
commit | 9b8331317b220d529beb2198e28ad3a76ca79c6b (patch) | |
tree | 29af84c82119ee9feec6359b6892aef076a09bdc /PKGBUILD | |
parent | 08fa39dc8aa0cdb96f4dbe7bb4b5d590e3368d7a (diff) | |
download | aur-pom-ng-git.tar.gz |
autu: Update to 0.0.19.r2.gcb92fb7-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 12 insertions, 18 deletions
@@ -11,7 +11,7 @@ set -u _pkgname='pom-ng' pkgname="${_pkgname}-git" -pkgver=0.0.19.r0.g48da973 +pkgver=0.0.19.r2.gcb92fb7 pkgrel=1 pkgdesc='Packet-o-Matic real time network packet capture forensic tool' arch=('i686' 'x86_64') @@ -33,7 +33,8 @@ conflicts=("${_pkgname}") _srcdir="${pkgname^^}" _giturl="https://github.com/gmsoft-tuxicoman/${_pkgname}" _verwatch=("${_giturl}/releases.atom" '\s\+<title>v\([^<]\+\).*' 'f') # RSS -source=("${_srcdir}::${_giturl//https:/git:}.git") +source=("${_srcdir}::git+${_giturl}.git") +md5sums=('SKIP') sha256sums=('SKIP') pkgver () { @@ -43,26 +44,19 @@ pkgver () { set +u } -prepare() { - set -u - cd "${_srcdir}" - autoreconf -f -i - lua_CFLAGS="$(pkg-config --cflags lua51)" \ - lua_LIBS="$(pkg-config --libs lua51)" \ - ./configure --prefix='/usr' - #cp -p '/usr/include/libexif/exif-data.h' . - set +u -} - build() { set -u cd "${_srcdir}" - if [ ! -z "${MAKEFLAGS:-}" ] && [ "${MAKEFLAGS}" != "${MAKEFLAGS//-j/}" ]; then - nice make -s - else - local _nproc="$(lscpu -p | grep '^[0-9]' | cut -d',' -f2-3 | sort -u | wc -l)"; _nproc=$((_nproc>4?4:_nproc)) - nice make -s -j "${_nproc}" + if [ ! -s 'configure' ]; then + autoreconf -f -i + fi + if [ ! -s 'Makefile' ]; then + lua_CFLAGS="$(pkg-config --cflags lua51)" \ + lua_LIBS="$(pkg-config --libs lua51)" \ + ./configure --prefix='/usr' + #cp -p '/usr/include/libexif/exif-data.h' . fi + nice make -s set +u } |