From 89a66d532afd69e14b4bd14c44d7220b3f8cee37 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 11 Aug 2014 21:08:18 +0200 Subject: elementary-xfce-icons: Switch pkgver(), redo quotation --- .SRCINFO | 4 ++-- PKGBUILD | 16 ++++++++-------- 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" \ -- cgit v1.2.3-70-g09d2