diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 19 insertions, 15 deletions
@@ -1,6 +1,6 @@ pkgbase = activityfox-git pkgdesc = allow Firefox to play nice with KDE Plasma Activities - pkgver = 0.2 + pkgver = 0.2.r3.g2c84c52 pkgrel = 1 url = https://github.com/temporaryname96/activityfox arch = i686 @@ -8,6 +8,8 @@ pkgbase = activityfox-git license = GPL3 makedepends = automoc4 depends = firefox + provides = activityfox + conflicts = activityfox source = git+https://github.com/temporaryname96/activityfox.git sha256sums = SKIP @@ -1,13 +1,10 @@ -# Maintainer mober <maxATmoberDOTat> -# Thanks to: -# * Yuen Hoe (Jason moofang) / jasonmoofang@github -# https://github.com/jasonmoofang/activityfox -# * Leonid Kalichkin / hellishnoob@github -# https://github.com/hellishnoob/activityfox +# Maintainer: +# Contributor: Felix Golatofski <contact@xdfr.de> +# Contributor: mober <maxATmoberDOTat> -pkgname=activityfox-git _pkgname=activityfox -pkgver=0.2 +pkgname=$_pkgname-git +pkgver=0.2.r3.g2c84c52 pkgrel=1 pkgdesc="allow Firefox to play nice with KDE Plasma Activities" arch=('i686' 'x86_64') @@ -15,18 +12,23 @@ url="https://github.com/temporaryname96/activityfox" license=('GPL3') depends=('firefox') makedepends=('automoc4') +provides=("$_pkgname") +conflicts=("$_pkgname") source=("git+${url}.git") sha256sums=('SKIP') +pkgver() { + cd "$srcdir/$_pkgname" + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} build() { - cd $srcdir/${_pkgname} - cmake . - make + cd "$srcdir/$_pkgname" + cmake . + make } package() { - cd $srcdir/$_pkgname - - install -D -t ${pkgdir}/usr/bin activityfox activityfox.shell + cd "$srcdir/$_pkgname" + install -D -t ${pkgdir}/usr/bin activityfox activityfox.shell } |