summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarcus Behrendt2017-08-07 22:05:00 +0200
committerMarcus Behrendt2017-08-07 22:05:00 +0200
commit9e6f8ea37e271d54660fc8d407c1503d138ef4d5 (patch)
tree5e58bc88ab0cacaeead3c94af863265c995eeaeb
parent5485068df34860793763b2ec073d1e9e42eb6a40 (diff)
downloadaur-9e6f8ea37e271d54660fc8d407c1503d138ef4d5.tar.gz
add conflicts and provides and change pkgver schema
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD11
2 files changed, 13 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7c3e177bd81..e28a81fe8be 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
# Generated by mksrcinfo v8
-# Fri Aug 4 14:45:52 UTC 2017
+# Mon Aug 7 20:03:35 UTC 2017
pkgbase = arc-kde-git
pkgdesc = Arc customization mainly for Plasma 5 (git version)
- pkgver = 20170731
- pkgrel = 3
+ pkgver = r11.5485068
+ pkgrel = 1
+ epoch = 1
url = https://github.com/PapirusDevelopmentTeam/arc-kde
install = arc-kde-git.install
arch = any
@@ -20,6 +21,8 @@ pkgbase = arc-kde-git
optdepends = telegram-desktop
optdepends = eclipse-common
optdepends = firefox
+ provides = arc-kde
+ conflicts = arc-kde
options = !strip
source = arc-kde-git::git+https://github.com/PapirusDevelopmentTeam/arc-kde.git
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 1852b99022b..91d0317e9b4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,13 +3,16 @@
_with_extra=y
pkgname=arc-kde-git
-pkgver=20170731
-pkgrel=3
+epoch=1
+pkgver=r11.5485068
+pkgrel=1
pkgdesc='Arc customization mainly for Plasma 5 (git version)'
arch=('any')
url='https://github.com/PapirusDevelopmentTeam/arc-kde'
license=('GPLv3')
options=('!strip')
+conflicts=('arc-kde')
+provides=('arc-kde')
makedepends=('git')
optdepends=(
"plasma-desktop: For Plasma desktop theme"
@@ -41,8 +44,8 @@ sha256sums=('SKIP')
install=${pkgname}.install
pkgver() {
- cd ${pkgname}
- git log -1 --format="%cd" --date=short | tr -d '-'
+ cd "${srcdir}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {