diff options
author | mibbio | 2016-01-20 12:47:02 +0100 |
---|---|---|
committer | mibbio | 2016-01-20 12:47:02 +0100 |
commit | e46ea37eef6ea0e4ee63b8f523c3d3c5e00c4e74 (patch) | |
tree | 8f02609b1d8549c76392a5c16ddacfd1e914f688 | |
parent | f9fde4e8e3d026a180e5d04ef31de4ef70d36003 (diff) | |
download | aur-e46ea37eef6ea0e4ee63b8f523c3d3c5e00c4e74.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:49:39 UTC 2015 -pkgbase = cinnamon-theme-ciliora-prima +# Wed Jan 20 11:43:23 UTC 2016 +pkgbase = cinnamon-theme-ciliora-prima-git pkgdesc = Ciliora-Prima theme for Cinnamon 2.8 - pkgver = 20151229 + pkgver = r69.5f66d27 pkgrel = 1 - url = http://cinnamon-spices.linuxmint.com/themes/view/323 + url = https://github.com/zagortenay333/ciliora-prima-cinnamon arch = any license = GPL depends = cinnamon>=2.8.0 depends = cinnamon<2.9.0 - source = http://cinnamon-spices.linuxmint.com/uploads/themes/7D8E-9P4O-VC17.zip - sha256sums = b7e2ffd43dceab611ddee2cc522a247b0f9892b2c6a5119565087e567959c1fa + replaces = cinnamon-theme-ciliora-prima + source = git+https://github.com/zagortenay333/ciliora-prima-cinnamon + sha256sums = SKIP -pkgname = cinnamon-theme-ciliora-prima +pkgname = cinnamon-theme-ciliora-prima-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-Prima' -pkgname=cinnamon-theme-${_name,,} -pkgver=20151229 +pkgname=cinnamon-theme-${_name,,}-git +pkgver=r69.5f66d27 pkgrel=1 pkgdesc="${_name} theme for Cinnamon 2.8" arch=('any') -url="http://cinnamon-spices.linuxmint.com/themes/view/323" +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/7D8E-9P4O-VC17.zip") -sha256sums=('b7e2ffd43dceab611ddee2cc522a247b0f9892b2c6a5119565087e567959c1fa') +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/{}" \; } |