summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGötz Christ2016-05-01 17:14:44 -0500
committerGötz Christ2016-05-01 17:14:44 -0500
commita63aa71434e6766ef2fa429b1fb25244ff61175d (patch)
tree4abebbbfada105be517e4517d5c655242fcd8ce1 /PKGBUILD
downloadaur-openbox-theme-menda.tar.gz
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..ee27cd79a0e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+pkgname=("openbox-theme-menda")
+pkgver=r91.2759ebc
+pkgrel=1
+pkgdesc="Manjaro's Openbox theme"
+arch=('any')
+url="https://github.com/manjaro/artwork-menda"
+conflicts=('menda-themes')
+license=('GPL3')
+source=(${pkgname}::'git+https://github.com/manjaro/artwork-menda.git')
+sha1sums=('SKIP')
+
+pkgver() {
+ cd "$pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+package() {
+ install -dm755 "${pkgdir}/usr/share/themes"
+ install -dm755 "${pkgdir}/usr/share/themes/Menda"
+
+ install -Dm755 "${srcdir}/${pkgbase}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ cp -r "${srcdir}/${pkgbase}/Menda/openbox-3" "${pkgdir}/usr/share/themes/Menda"
+}