From 286695779228bf2956712f65dbf71bc8167af585 Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Mon, 4 Aug 2014 18:10:35 +0200 Subject: Clean up PKGBUILDs --- .SRCINFO | 4 ++-- PKGBUILD | 31 +++++++++++++++++-------------- 2 files changed, 19 insertions(+), 16 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 245bb70..2a197b6 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 = git + pkgver = 0.r941.cefa84e 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::git+https://github.com/shimmerproject/elementary-xfce + source = elementary-xfce-icons::git+https://github.com/shimmerproject/elementary-xfce md5sums = SKIP pkgname = elementary-xfce-icons-git diff --git a/PKGBUILD b/PKGBUILD index 179096e..3f3067a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,36 +1,39 @@ -# Maintainer: Raphael Scholer - pkgname=elementary-xfce-icons-git -pkgver=git +pkgver=0.r941.cefa84e pkgrel=1 + pkgdesc='Elementary icon-theme with improved Xfce support' -arch=('any') url='https://github.com/shimmerproject/elementary-xfce' +arch=('any') license=('GPL2') -makedepends=('git') + depends=('gtk-update-icon-cache') +makedepends=('git') + conflicts=('elementary-xfce-icons') + install=elementary-xfce-icons-git.install -source=("$pkgname::git+https://github.com/shimmerproject/elementary-xfce") + +source=("elementary-xfce-icons::git+https://github.com/shimmerproject/elementary-xfce") md5sums=('SKIP') pkgver() { - cd $pkgname - echo "$(git describe --always |sed 's#-#_#g;s#v##')" + cd elementary-xfce-icons + printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } package() { mkdir -p "${pkgdir}/usr/share/icons" - cd $pkgname + cd elementary-xfce-icons find ./ -type d -name "elementary-xfce*" -execdir cp -r {} "${pkgdir}/usr/share/icons/" \; cd "${pkgdir}/usr/share/icons" find ./ -type f \( \ - -name "AUTHORS" \ - -o -name "CONTRIBUTORS" \ - -o -name "LICENSE" \ - \) \ - -delete + -name "AUTHORS" \ + -o -name "CONTRIBUTORS" \ + -o -name "LICENSE" \ + \) \ + -delete } -- cgit v1.2.3-70-g09d2