diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 12 insertions, 6 deletions
@@ -1,13 +1,14 @@ pkgbase = qactus-git pkgdesc = A Qt-based OBS notifier application. - pkgver = v0.7.0.r36.g8560b4c - pkgrel = 2 + pkgver = 0.9.9.r311.g3fede1c + pkgrel = 1 url = https://github.com/javierllorente/qactus arch = i686 arch = x86_64 license = GPL2 license = GPL3 makedepends = git + depends = hicolor-icon-theme depends = qtkeychain provides = qactus conflicts = qactus @@ -2,13 +2,13 @@ # Contributor: pkgname=qactus-git -pkgver=v0.7.0.r36.g8560b4c -pkgrel=2 +pkgver=0.9.9.r311.g3fede1c +pkgrel=1 pkgdesc="A Qt-based OBS notifier application." arch=('i686' 'x86_64') url="https://github.com/javierllorente/qactus" license=('GPL2' 'GPL3') -depends=('qtkeychain') +depends=('hicolor-icon-theme' 'qtkeychain') makedepends=('git') conflicts=('qactus') provides=('qactus') @@ -17,7 +17,12 @@ md5sums=('SKIP') pkgver() { cd qactus - git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g' + version=$(grep 'VERSION =' src/defines.pri | awk '{print $3}') + printf "%s.r%s.g%s" "$version" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +prepare() { + sed -i "s/lib64/lib/g" qactus/src/qobs/qobs.pro } build() { |