diff options
author | Tomasz Maciej Nowak | 2016-01-08 15:09:22 +0100 |
---|---|---|
committer | Tomasz Maciej Nowak | 2016-01-08 15:09:22 +0100 |
commit | d88f98b4c3ec642f6036c3ba37c772f662201b5b (patch) | |
tree | 3377d860c2f84fa451b2a0035305c23c4ed201b1 /PKGBUILD | |
parent | 7258f6f55ced819a2a75c9b1961fb542bd0cdb38 (diff) | |
download | aur-d88f98b4c3ec642f6036c3ba37c772f662201b5b.tar.gz |
don't export flags, provide them when calling make, replace dot with bracket in pkgver
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -1,7 +1,7 @@ # Maintainer: Tomasz Maciej Nowak <com[dot]gmail[at]tmn505> pkgname='minisatip-git' pkgdesc="SAT>IP server, tested with DVB-S, DVB-S2, DVB-T, DVB-T2, DVB-C, DVB-C2, ATSC and ISDB-T cards (experimental)" -pkgver=0.5.10.6da4529 +pkgver=0.5.12_edf84da pkgrel=1 arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64') url="https://github.com/catalinii/minisatip" @@ -24,14 +24,13 @@ sha256sums=('SKIP' pkgver() { cd ${srcdir}/minisatip - printf "%s.%s" "$(tac minisatip.h | awk -F"[^.^0-9]*" '/VERSION_BUILD/ {printf $2}')" "$(git rev-parse --short HEAD)" + printf "%s_%s" "$(tac minisatip.h | awk -F"[^.^0-9]*" '/VERSION_BUILD/ {printf $2}')" "$(git rev-parse --short HEAD)" } build() { cd ${srcdir}/minisatip - export CFLAGS="${CFLAGS} -ggdb -fPIC" - export LDFLAGS="${LDFLAGS} -lpthread -lrt" - make DVBCA=yes + sed -i 's/FLAGS?/FLAGS/g' Makefile + make DVBCA=yes EXTRA_CFLAGS="${CFLAGS}" EXTRA_LDFLAGS+="${LDFLAGS}" } package() { |