summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShadowKyogre2016-04-11 16:25:56 -0700
committerShadowKyogre2016-04-11 16:25:56 -0700
commit2253c17bf2428d45d830de2ef20f4e8a26e40b14 (patch)
treebfbd5e34450521837d0d38a5a5954c4b8f227cd1
parentf88a0779758fa6c710d45c21595e9cda0880a516 (diff)
downloadaur-2253c17bf2428d45d830de2ef20f4e8a26e40b14.tar.gz
Standardize format of compiz git PKGBUILDs
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD14
2 files changed, 12 insertions, 10 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1a29e88e6a6..ed0a5f44fd1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Mon Mar 28 20:29:33 UTC 2016
+# Mon Apr 11 23:25:56 UTC 2016
pkgbase = ccsm-git
pkgdesc = Compizconfig Settings Manager in Python2
- pkgver = 0.8.12.2.r0.gef02e91
- pkgrel = 2
+ pkgver = 0.8.12.3.0.r1.gf9cb5c3
+ pkgrel = 1
url = https://github.com/compiz-reloaded/ccsm
install = ccsm.install
arch = any
@@ -16,7 +16,7 @@ pkgbase = ccsm-git
depends = python2-gobject
optdepends = compiz-gtk-standalone: option 1
optdepends = compiz-core: option 2
- provides = ccsm=0.8.12.2.r0.gef02e91
+ provides = ccsm=0.8.12.3.0.r1.gf9cb5c3
conflicts = ccsm
source = git+https://github.com/compiz-reloaded/ccsm.git
sha1sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index 7361eeeb80f..5246cd02030 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,12 +3,14 @@
# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com>
# Contributor: nesl247 <nesl247@gmail.com>
+_upstream="ccsm"
+
pkgname=ccsm-git
-pkgver=0.8.12.2.r0.gef02e91
-pkgrel=2
+pkgver=0.8.12.3.0.r1.gf9cb5c3
+pkgrel=1
pkgdesc="Compizconfig Settings Manager in Python2"
arch=('any')
-url="https://github.com/compiz-reloaded/ccsm"
+url="https://github.com/compiz-reloaded/${_upstream}"
license=('GPL')
depends=("compizconfig-python-git" 'python2-gobject')
makedepends=('intltool')
@@ -17,17 +19,17 @@ groups=('compiz-fusion' 'compiz-fusion-gtk' 'compiz-fusion-kde')
conflicts=('ccsm')
provides=("ccsm=$pkgver")
source=(
- 'git+https://github.com/compiz-reloaded/ccsm.git'
+ "git+https://github.com/compiz-reloaded/${_upstream}.git"
)
install=ccsm.install
sha1sums=('SKIP')
pkgver() {
- cd "${srcdir}/${pkgname%%-git}"
+ cd "${srcdir}/${_upstream}"
git describe --long --tags|sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
- cd "${srcdir}/${pkgname%%-git}"
+ cd "${srcdir}/${_upstream}"
python2 ./setup.py install --prefix=/usr --with-gtk=2.0 --root="${pkgdir}"
}