summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorThomas Gatzweiler2019-09-01 17:15:36 +0200
committerThomas Gatzweiler2019-09-01 17:15:36 +0200
commit6002b29440a1702577dae22e8a15129f33ca2454 (patch)
treeac882fa2a89b8efca691c521640da47e5184e72e /PKGBUILD
parentb9fe56c94455214a01543943eabbb11f8f3ea5f9 (diff)
downloadaur-qlog-git.tar.gz
Add flags submodule
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e0f16f2abb7..88c6f5215c2 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Thomas Gatzweiler <thomas.gatzweiler@gmail.com>
pkgname=qlog-git # '-bzr', '-git', '-hg' or '-svn'
-pkgver=r2.c705f4c
+pkgver=r40.b01ae89
pkgrel=1
pkgdesc="Amateur radio logbook software"
arch=("x86_64" "i686")
@@ -15,15 +15,22 @@ replaces=()
backup=()
options=()
install=
-source=('git://github.com/7h0ma5/QLog')
+source=('git://github.com/7h0ma5/QLog' 'git://github.com/7h0ma5/QLog-Flags')
noextract=()
-md5sums=('SKIP')
+md5sums=('SKIP' 'SKIP')
pkgver() {
cd "$srcdir/QLog"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
+prepare() {
+ cd "$srcdir/QLog"
+ git submodule init
+ git config submodule.res/flags.url $srcdir/QLog-Flags
+ git submodule update
+}
+
build() {
cd "$srcdir/QLog"
qmake PREFIX=${pkgdir}/usr QLog.pro