summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD24
2 files changed, 21 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1636e90ee6f..d79c0229ade 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,15 @@
+# Generated by mksrcinfo v8
+# Mon Mar 21 07:43:18 UTC 2016
pkgbase = paper-icon-theme-git
pkgdesc = Paper is an icon theme for GTK based desktops and fits perfectly the paper-gtk-theme
- pkgver = 0.r2.aca8802
+ pkgver = ae82c98
pkgrel = 1
url = https://github.com/snwh/paper-icon-theme
- arch = i686
- arch = x86_64
+ arch = any
license = CC BY-SA 4.0
makedepends = git
- depends = librsvg
+ makedepends = automake
+ depends = gtk-update-icon-cache
provides = paper-icon-theme
source = paper-icon-theme-git::git+https://github.com/snwh/paper-icon-theme.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index f55fb0f6c39..09a36a17859 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,12 +1,12 @@
pkgname=paper-icon-theme-git
-pkgver=0.r2.aca8802
+pkgver=ae82c98
pkgrel=1
pkgdesc="Paper is an icon theme for GTK based desktops and fits perfectly the paper-gtk-theme"
-arch=('i686' 'x86_64')
+arch=(any)
url="https://github.com/snwh/paper-icon-theme"
license=('CC BY-SA 4.0')
-depends=('librsvg')
-makedepends=('git')
+depends=('gtk-update-icon-cache')
+makedepends=('git' 'automake')
provides=('paper-icon-theme')
source=("$pkgname"::'git+https://github.com/snwh/paper-icon-theme.git')
# Because the sources are not static, skip Git checksum:
@@ -15,12 +15,18 @@ md5sums=('SKIP')
pkgver() {
cd "$srcdir/$pkgname"
# Use the tag of the last commit
- printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+ git describe --always | sed 's|-|.|g'
+ #printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./autogen.sh --prefix=/usr
+ make
}
package() {
- cd "$srcdir/$pkgname/Paper"
- install -d -m 755 "$pkgdir"/usr/share/icons/Paper
- rm -rf {.git,.gitignore,CONTRIBUTORS,COPYING,CREDITS,LICENSE.txt,README.md}
- cp -r . "$pkgdir"/usr/share/icons/Paper/
+ cd "$srcdir/$pkgname"
+ make DESTDIR="$pkgdir" install
+ rm -f "${pkgdir}/usr/share/icons/gnome/icon-theme.cache"
}