aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohannes Löthberg <johannes@kyriasis.com>2014-08-11 21:08:18 +0200
committerJohannes Löthberg <johannes@kyriasis.com>2015-06-01 16:03:41 +0200
commit89a66d532afd69e14b4bd14c44d7220b3f8cee37 (patch)
treef34e0d0c6e1a58d43e16203b6e71c421bb8e1354
parent286695779228bf2956712f65dbf71bc8167af585 (diff)
downloadpkgbuilds-89a66d532afd69e14b4bd14c44d7220b3f8cee37.tar.xz
elementary-xfce-icons: Switch pkgver(), redo quotation
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD16
2 files changed, 10 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2a197b6..0f3ee81 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@
# Mon Jun 1 15:02:16 UTC 2015
pkgbase = elementary-xfce-icons-git
pkgdesc = Elementary icon-theme with improved Xfce support
- pkgver = 0.r941.cefa84e
+ pkgver = 0.r948.b09ff75
pkgrel = 1
url = https://github.com/shimmerproject/elementary-xfce
install = elementary-xfce-icons-git.install
@@ -11,7 +11,7 @@ pkgbase = elementary-xfce-icons-git
makedepends = git
depends = gtk-update-icon-cache
conflicts = elementary-xfce-icons
- source = elementary-xfce-icons::git+https://github.com/shimmerproject/elementary-xfce
+ source = git+https://github.com/shimmerproject/elementary-xfce
md5sums = SKIP
pkgname = elementary-xfce-icons-git
diff --git a/PKGBUILD b/PKGBUILD
index 3f3067a..d84819d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
pkgname=elementary-xfce-icons-git
-pkgver=0.r941.cefa84e
+pkgver=0.r948.b09ff75
pkgrel=1
pkgdesc='Elementary icon-theme with improved Xfce support'
@@ -14,21 +14,21 @@ conflicts=('elementary-xfce-icons')
install=elementary-xfce-icons-git.install
-source=("elementary-xfce-icons::git+https://github.com/shimmerproject/elementary-xfce")
+source=('git+https://github.com/shimmerproject/elementary-xfce')
md5sums=('SKIP')
pkgver() {
- cd elementary-xfce-icons
- printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ cd elementary-xfce
+ git describe | sed -E 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}
package() {
- mkdir -p "${pkgdir}/usr/share/icons"
+ mkdir -p "$pkgdir/usr/share/icons"
- cd elementary-xfce-icons
- find ./ -type d -name "elementary-xfce*" -execdir cp -r {} "${pkgdir}/usr/share/icons/" \;
+ cd elementary-xfce
+ find ./ -type d -name "elementary-xfce*" -execdir cp -r {} "$pkgdir"/usr/share/icons/ \;
- cd "${pkgdir}/usr/share/icons"
+ cd "$pkgdir"/usr/share/icons
find ./ -type f \( \
-name "AUTHORS" \
-o -name "CONTRIBUTORS" \