summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD24
1 files changed, 15 insertions, 9 deletions
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"
}