diff options
author | Gordian Edenhofer | 2015-10-11 12:53:20 +0200 |
---|---|---|
committer | Gordian Edenhofer | 2015-10-11 12:53:20 +0200 |
commit | 255914713e4e1fc4138a817f6a9b9239e1319e97 (patch) | |
tree | 7d8323ad7a8ca46312485442bb1925bc848616f7 | |
parent | 027750d749e727bf42cac95c4d7e86083b68aa0f (diff) | |
download | aur-255914713e4e1fc4138a817f6a9b9239e1319e97.tar.gz |
Update pkgver + Indent + Minor cleanup
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 14 |
2 files changed, 8 insertions, 10 deletions
@@ -1,8 +1,6 @@ -# Generated by makepkg 4.2.1 -# Sat May 23 12:03:33 UTC 2015 pkgbase = gnome-shell-theme-copernico-git pkgdesc = A theme for the GNOME Shell which provides a slightly more pleasant visual impression. - pkgver = 7.bc76060 + pkgver = 11.679bb9d pkgrel = 1 url = http://gnome-look.org/content/show.php/Copernico+Theme?content=167439 arch = any @@ -2,7 +2,7 @@ pkgname=gnome-shell-theme-copernico-git _pkgname=copernico -pkgver=8.db365d0 +pkgver=11.679bb9d pkgrel=1 pkgdesc="A theme for the GNOME Shell which provides a slightly more pleasant visual impression." arch=('any') @@ -14,13 +14,13 @@ source=(${_pkgname}::'git+https://bitbucket.org/mgyugcha/copernico-theme.git') sha256sums=('SKIP') pkgver() { - cd "${srcdir}/${_pkgname}" - echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) + cd "${srcdir}/${_pkgname}" + echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD) } package() { - cd "${srcdir}/${_pkgname}" - install -dm755 "${pkgdir}/usr/share/themes/${_pkgname}" - rm -rf {.git,images,LICENSE.txt,README.md} - cp -dpr --no-preserve=ownership . "${pkgdir}/usr/share/themes/${_pkgname}/" + cd "${srcdir}/${_pkgname}" + + install -dm755 "${pkgdir}/usr/share/themes/${_pkgname}" + cp -dpr --no-preserve=ownership ./gnome-shell "${pkgdir}/usr/share/themes/${_pkgname}/" } |