summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Yang2017-08-11 15:11:27 +0800
committerMichael Yang2017-08-11 15:11:27 +0800
commitd3e8ea0f01a385d460e4d4164f94a05aa2904ad7 (patch)
treea0f5f13f992e4e39c5a58e9e9d6cd198c9711b4c
parentc388f6ccade30bd971d2ae530df3eb56670dabf9 (diff)
downloadaur-d3e8ea0f01a385d460e4d4164f94a05aa2904ad7.tar.gz
Update
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD10
2 files changed, 7 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 300949d88e4..a1c3353d7b8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Sun Apr 16 15:40:41 UTC 2017
+# Fri Aug 11 07:10:46 UTC 2017
pkgbase = ctk-widgets-git
pkgdesc = A collection of Qt Widgets for usage in biomedical imaging applications
- pkgver = 0.1.0.r5170.b8587e55
+ pkgver = 0.1.0.r5270.cfbb46a7
pkgrel = 1
url = https://github.com/commontk/CTK/
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 5deb2b27af4..0fbb3f1103f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,21 @@
# Maintainer: Michael Yang <ohmyarchlinux@gmail.com>
pkgname=ctk-widgets-git
-pkgver=0.1.0.r5170.b8587e55
+pkgver=0.1.0.r5270.cfbb46a7
pkgrel=1
-pkgdesc="A collection of Qt Widgets for usage in biomedical imaging applications"
+pkgdesc='A collection of Qt Widgets for usage in biomedical imaging applications'
arch=('i686' 'x86_64')
url="https://github.com/commontk/CTK/"
license=('APACHE')
depends=('qt5-tools')
makedepends=('git' 'cmake>=2.8.12')
conflicts=('ctk')
-source=("git://github.com/commontk/CTK.git")
+source=('git://github.com/commontk/CTK.git')
sha512sums=('SKIP')
pkgver() {
cd CTK
- echo "0.1.0.r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
+ echo "$(grep "set(CTK_MAJOR_VERSION" CMakeLists.txt | cut -d ' ' -f2 | cut -d ')' -f1).$(grep "set(CTK_MINOR_VERSION" CMakeLists.txt | cut -d ' ' -f2 | cut -d ')' -f1).$(grep "set(CTK_PATCH_VERSION" CMakeLists.txt | cut -d ' ' -f2 | cut -d ')' -f1).r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}
prepare() {
@@ -44,6 +44,6 @@ package() {
CMake/ctkFunctionGetTargetDependencies.cmake \
CMake/ctkFunctionGetPluginDependencies.cmake \
CMake/ctkMacroSetupPlugins.cmake \
- ${pkgdir}/usr/lib/ctk-0.1/CMake
+ ${pkgdir}/usr/lib/ctk-*/CMake
install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/ctk-widgets-git/LICENSE
}