summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFrederic Bezies2019-09-06 08:17:21 +0200
committerFrederic Bezies2019-09-06 08:17:21 +0200
commit650311ec52168018db251d649eba36a2729de244 (patch)
treea968efff0f8fae5a358af7149c9dd9593a967620
parentd4eab68979f295f7aaca895a2d2dc1f0079d3f2c (diff)
downloadaur-650311ec52168018db251d649eba36a2729de244.tar.gz
updated PKGBUILD based on Alad's comment
-rw-r--r--.SRCINFO7
-rw-r--r--PKGBUILD17
2 files changed, 16 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 22a20a6458d0..038d3de4b4b7 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = windows-xp-themes-git
pkgdesc = All 7 of Windows XP themes available for Linux
- pkgver = 20190804
+ pkgver = 3.0.r3.ge05cae5
pkgrel = 1
+ epoch = 1
url = https://github.com/B00merang-Project/WinXP-themes
arch = any
license = GPL
- source = https://github.com/B00merang-Project/Windows-XP/archive/master.zip
- sha256sums = 5b1f7e75f4e70e4106708eb1a031f8f61c12eb67f7ba7485ee6929e3646ceae2
+ source = git+https://github.com/B00merang-Project/Windows-XP.git
+ sha256sums = SKIP
pkgname = windows-xp-themes-git
diff --git a/PKGBUILD b/PKGBUILD
index 956e67cbdd7e..720529d01a96 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,22 @@
-# Maintainer: Hokuto <abrahamhokuto@outlook.com>
+# Maintainer: Frederic Bezies <fredbezies at gmail dot com>
+# Contributor: Hokuto <abrahamhokuto@outlook.com>
-pkgver=20190804
+pkgver=3.0.r3.ge05cae5
pkgrel=1
+epoch=1
pkgname=windows-xp-themes-git
-_pkgname=Windows-XP-master
+_pkgname=Windows-XP
pkgdesc='All 7 of Windows XP themes available for Linux'
arch=('any')
url='https://github.com/B00merang-Project/WinXP-themes'
license=('GPL')
-source=("https://github.com/B00merang-Project/Windows-XP/archive/master.zip")
-sha256sums=('5b1f7e75f4e70e4106708eb1a031f8f61c12eb67f7ba7485ee6929e3646ceae2')
+source=("git+https://github.com/B00merang-Project/Windows-XP.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd $srcdir/$_pkgname
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
package() {
cd $srcdir/$_pkgname