diff options
author | Neal Miller | 2018-06-21 22:28:28 -0500 |
---|---|---|
committer | Neal Miller | 2018-06-21 22:28:28 -0500 |
commit | f141fc04624e6b32aa904635d6a4b0ca782417cd (patch) | |
tree | b5d5dd9617c4353afa6e88fc0b762bbaa6dd1c5c | |
parent | 471d8c3267c24aa265a4cc8f03045896e04ab29a (diff) | |
download | aur-f141fc04624e6b32aa904635d6a4b0ca782417cd.tar.gz |
Set master branch as default but added variable and instructions to allow easy changing
-rw-r--r-- | PKGBUILD | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -15,6 +15,8 @@ source=('git+https://git.code.sf.net/p/wsjt/wsjtx-superbuild/' 'wsjtx.patch') md5sums=('SKIP' 'c5a2c0b91c2709e070d7ebcb75621354') +#set branch to build with WSJTX_TAG variable, or a specific version eg. tags/wsjtx-1.9.0 +_wsjtx_tag=master pkgver() { cd "$srcdir/${pkgname%-git}" @@ -25,7 +27,7 @@ build() { cp wsjtx.patch "$srcdir/${pkgname%-git}" mkdir -p "$srcdir/${pkgname%-git}/build" cd "$srcdir/${pkgname%-git}/build" - cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. + cmake -D WSJTX_TAG=$_wsjtx_tag -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=Release .. make } |