diff options
author | mibbio | 2016-01-20 12:50:13 +0100 |
---|---|---|
committer | mibbio | 2016-01-20 12:50:13 +0100 |
commit | a27fc704c5c7d254b8ffcafb0d9faf307242bd41 (patch) | |
tree | 6356570a56318987a2665f5500622c3350405b33 | |
parent | 164b4a840761a763e4e8d3cfdd8d0ed60a500e31 (diff) | |
download | aur-a27fc704c5c7d254b8ffcafb0d9faf307242bd41.tar.gz |
Use git upstream
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | .gitignore | 1 | ||||
-rw-r--r-- | PKGBUILD | 19 |
3 files changed, 22 insertions, 13 deletions
@@ -1,16 +1,17 @@ # Generated by mksrcinfo v8 -# Tue Dec 29 17:58:09 UTC 2015 -pkgbase = cinnamon-theme-ciliora-tertia +# Wed Jan 20 11:50:03 UTC 2016 +pkgbase = cinnamon-theme-ciliora-tertia-git pkgdesc = Ciliora-Tertia theme for Cinnamon 2.8 - pkgver = 20151229 + pkgver = r133.97b0e77 pkgrel = 1 - url = http://cinnamon-spices.linuxmint.com/themes/view/426 + url = https://github.com/zagortenay333/ciliora-tertia-cinnamon arch = any license = GPL depends = cinnamon>=2.8.0 depends = cinnamon<2.9.0 - source = http://cinnamon-spices.linuxmint.com/uploads/themes/RKSB-NVC1-TTG7.zip - sha256sums = 204623bc4e6a8b99a8cd3416e9431c479432ef36e1a02e4a023d7e81c8c80c4b + replaces = cinnamon-theme-ciliora-tertia + source = git+https://github.com/zagortenay333/ciliora-tertia-cinnamon + sha256sums = SKIP -pkgname = cinnamon-theme-ciliora-tertia +pkgname = cinnamon-theme-ciliora-tertia-git diff --git a/.gitignore b/.gitignore index 554abb67f143..03e37c8c718c 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,5 @@ *.zip pkg/ src/ +*-cinnamon/ *pkg.tar.xz @@ -1,17 +1,24 @@ # Maintainer: mibbio <contact at mibbiodev dot de> _name='Ciliora-Tertia' -pkgname=cinnamon-theme-${_name,,} -pkgver=20151229 +pkgname=cinnamon-theme-${_name,,}-git +pkgver=r133.97b0e77 pkgrel=1 pkgdesc="${_name} theme for Cinnamon 2.8" arch=('any') -url="http://cinnamon-spices.linuxmint.com/themes/view/426" +url="https://github.com/zagortenay333/${_name,,}-cinnamon" license=('GPL') depends=('cinnamon>=2.8.0' 'cinnamon<2.9.0') -source=("http://cinnamon-spices.linuxmint.com/uploads/themes/RKSB-NVC1-TTG7.zip") -sha256sums=('204623bc4e6a8b99a8cd3416e9431c479432ef36e1a02e4a023d7e81c8c80c4b') +replaces=("cinnamon-theme-${_name,,}") +source=("git+https://github.com/zagortenay333/${_name,,}-cinnamon") +sha256sums=('SKIP') + +pkgver() { + cd "$srcdir/${_name,,}-cinnamon" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} package() { - find ${_name} -type f -not -name *~ -not -name *.sh -exec install -Dm644 '{}' "$pkgdir/usr/share/themes/{}" \; + cd "$srcdir/${_name,,}-cinnamon" + find ${_name} -type f -not -name *~ -not -name *.sh -exec install -Dm644 '{}' "$pkgdir/usr/share/themes/{}" \; } |