summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authormibbio2016-01-20 12:47:02 +0100
committermibbio2016-01-20 12:47:02 +0100
commite46ea37eef6ea0e4ee63b8f523c3d3c5e00c4e74 (patch)
tree8f02609b1d8549c76392a5c16ddacfd1e914f688
parentf9fde4e8e3d026a180e5d04ef31de4ef70d36003 (diff)
downloadaur-e46ea37eef6ea0e4ee63b8f523c3d3c5e00c4e74.tar.gz
Use git upstream
-rw-r--r--.SRCINFO15
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD19
3 files changed, 22 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index cc5365aff4b..350072cf509 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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 554abb67f14..03e37c8c718 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,4 +1,5 @@
*.zip
pkg/
src/
+*-cinnamon/
*pkg.tar.xz
diff --git a/PKGBUILD b/PKGBUILD
index 78bafe40112..815f11b6a82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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/{}" \;
}