summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD14
1 files changed, 8 insertions, 6 deletions
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}"
}