summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorChristian Mikovits2015-06-08 14:25:27 +0200
committerChristian Mikovits2015-06-08 14:25:27 +0200
commit194cfab3f207813b970fd81895c55d10b1664c41 (patch)
tree312497dbf7b2f8ba8881e35a40a59940dc6bbf70 /PKGBUILD
downloadaur-194cfab3f207813b970fd81895c55d10b1664c41.tar.gz
Initial Release
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD26
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..f55fb0f6c39
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,26 @@
+pkgname=paper-icon-theme-git
+pkgver=0.r2.aca8802
+pkgrel=1
+pkgdesc="Paper is an icon theme for GTK based desktops and fits perfectly the paper-gtk-theme"
+arch=('i686' 'x86_64')
+url="https://github.com/snwh/paper-icon-theme"
+license=('CC BY-SA 4.0')
+depends=('librsvg')
+makedepends=('git')
+provides=('paper-icon-theme')
+source=("$pkgname"::'git+https://github.com/snwh/paper-icon-theme.git')
+# Because the sources are not static, skip Git checksum:
+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)"
+}
+
+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/
+}