summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorJoel2017-05-14 08:36:29 -0700
committerJoel2017-05-14 08:36:29 -0700
commit3e9c34c53ccf32315793ebb05b2eda12e84bfd13 (patch)
treeb3af25f9b059c3e7db6fb3907a47008c5600e2f1 /PKGBUILD
parent8f0e1fe125f2c986938e5844c05031282137e72f (diff)
downloadaur-3e9c34c53ccf32315793ebb05b2eda12e84bfd13.tar.gz
updated to r22.52d038e
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD21
1 files changed, 12 insertions, 9 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 093cc9a640b..08ac4e3c79d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,25 @@
+# Maintainer: joel almeida <aullidolunar at gm_ai1 dot c0m>
# Maintainer: FadeMind <fademind@gmail.com>
_pkgname=Color-UI-theme-project
-_gitcommit=c6cf24f4d3618298c6a22cb4b5ccbab93b610adb
pkgname=colorui-themes
-pkgver=1.5.1.rpf2.b19
+pkgver=r22.52d038e
pkgrel=1
pkgdesc="Package contains 3 version of gtk3,gtk2,metacity,unity,xfwm4 and openbox theme."
arch=('any')
url="https://github.com/UserContributer/${_pkgname}"
license=('GPL3')
depends=('gnome-themes-standard' 'gtk-engine-murrine' 'gdk-pixbuf2')
-source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${_gitcommit}.tar.gz" )
-sha256sums=('ce969373b9c94170eeda90f7ceafd1d349a99892120e04e3e516a7b253f75343')
+source=("${pkgname}::git+https://github.com/UserContributer/Color-UI-theme-project.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/${pkgname}"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
package() {
- mkdir -p ${pkgdir}/usr/share/themes
- install -D -m644 ${srcdir}/${_pkgname}-${_gitcommit}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
- cp -rf ${srcdir}/${_pkgname}-${_gitcommit}/Color-UI ${pkgdir}/usr/share/themes
- find ${pkgdir}/usr -type f -exec chmod 644 {} \;
- find ${pkgdir}/usr -type d -exec chmod 755 {} \;
+ cd "$srcdir/${pkgname}/Color-UI"
+ install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ find . -type f -exec install -Dm644 '{}' "$pkgdir/usr/share/themes/{}" \;
}