diff options
author | Felix Golatofski | 2020-06-03 21:42:50 +0200 |
---|---|---|
committer | Felix Golatofski | 2020-06-03 21:42:50 +0200 |
commit | 21617008df2a696246404cfa7321133ce041f440 (patch) | |
tree | 253100a7780569a888fcfded5cd3e4a8ab170677 | |
parent | 1ce8cca1288453718d519e712f84242177a8b6a1 (diff) | |
download | aur-21617008df2a696246404cfa7321133ce041f440.tar.gz |
Updated: PKGBUILD
-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 } |