summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorTomasz Maciej Nowak2017-09-25 01:29:15 +0200
committerTomasz Maciej Nowak2017-09-25 01:29:15 +0200
commit6b5ea7899e520cd40a1db255b5844874ac5728c8 (patch)
tree1dd981bc6371e745de98fabf1b89bc3b933cad70 /PKGBUILD
parentd9e6c3070b4d50ce088cc7ba2e7259e7f0432647 (diff)
downloadaur-6b5ea7899e520cd40a1db255b5844874ac5728c8.tar.gz
upgpkg: minisatip-git 0.7.6_g9659c44-1
adopt changes in build system
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4d23ef755bc7..b058b4984e1e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
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.7.6_g6548479
+pkgver=0.7.6_g9659c44
pkgrel=1
arch=('x86_64' 'i686' 'arm' 'armv6h' 'armv7h' 'aarch64')
url="https://minisatip.org"
@@ -27,14 +27,19 @@ sha256sums=('SKIP'
pkgver() {
cd ${srcdir}/minisatip
- printf "%s_g%s" "$(tac minisatip.h | awk -F"[^.^0-9]*" '/VERSION_BUILD/ {printf $2}')" "$(git rev-parse --short HEAD)"
+ printf "%s_g%s" "$(tac src/minisatip.h | awk -F"[^.^0-9]*" '/VERSION_BUILD/ {printf $2}')" "$(git rev-parse --short HEAD)"
}
build() {
cd ${srcdir}/minisatip
./configure
- sed -i 's/FLAGS?/FLAGS/g' Makefile
- make EXTRA_CFLAGS="${CFLAGS}" EXTRA_LDFLAGS="${LDFLAGS}"
+ sed -e 's/FLAGS?/FLAGS/g' -i */Makefile
+ make EXTRA_CFLAGS="${CFLAGS}"
+}
+
+check() {
+ cd ${srcdir}/minisatip/tests
+ make EXTRA_CFLAGS="${CFLAGS}"
}
package() {