diff options
author | svalo <me@valo.space> | 2017-08-16 11:40:15 +0200 |
---|---|---|
committer | svalo <me@valo.space> | 2017-08-16 11:40:15 +0200 |
commit | a3ac963e90dc8b206e65dc38eb52337590912ff6 (patch) | |
tree | e99a5cf62fe3c3e732afee3460b8ba3fd3378f2a | |
parent | eb7af218b4c0be2b620c84d5a66e30a0f276ffee (diff) | |
download | dino-git-a3ac963e90dc8b206e65dc38eb52337590912ff6.tar.gz dino-git-a3ac963e90dc8b206e65dc38eb52337590912ff6.tar.bz2 dino-git-a3ac963e90dc8b206e65dc38eb52337590912ff6.zip |
Adds support for custom flags and executes tests
* [PKGBUILD] Adds support for user defined CC CFLAGS VALACFLAGS
* [PKGBUILD] Adds check function executing some tests
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 13 insertions, 4 deletions
@@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Fri Aug 11 10:48:54 UTC 2017 +# Wed Aug 16 09:39:38 UTC 2017 pkgbase = dino-git pkgdesc = Simple and modern Jabber/XMPP client written in vala - pkgver = r128.e3e6a42 + pkgver = r135.30818b3 pkgrel = 1 url = https://github.com/dino/dino arch = i686 @@ -2,7 +2,7 @@ # Contributor: svalo <me@valo.space> pkgname=dino-git -pkgver=r128.e3e6a42 +pkgver=r135.30818b3 pkgrel=1 pkgdesc="Simple and modern Jabber/XMPP client written in vala" arch=('i686' 'x86_64' 'aarch64') @@ -22,7 +22,7 @@ pkgver() { build() { cd "${srcdir}/${pkgname%-git}" - ./configure --prefix="/usr" + ./configure --prefix="/usr" --with-tests CC="$CC" CFLAGS="$CFLAGS" VALACFLAGS="$VALACFLAGS" make } @@ -30,3 +30,12 @@ package() { cd "${srcdir}/${pkgname%-git}" make DESTDIR="${pkgdir}/" install } + +check() { + cd "${srcdir}/${pkgname%-git}" + echo "Executing xmpp-vala-test:" + build/xmpp-vala-test + echo + echo "Executing signal-protocol-vala-test:" + build/signal-protocol-vala-test +} |