summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShadowKyogre2015-12-14 19:41:36 -0800
committerShadowKyogre2015-12-14 19:41:36 -0800
commit1925ce877ed13e2c276fd606692c147be380f1b7 (patch)
tree8d4a3555d654c9e7ca6d4bd545d0d3f25155e4ce
downloadaur-1925ce877ed13e2c276fd606692c147be380f1b7.tar.gz
Make gitified compiz PKGBUILD: ccsm-git
-rw-r--r--.SRCINFO26
-rw-r--r--PKGBUILD33
-rw-r--r--ccsm.install15
3 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..70ad8dc9ad6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,26 @@
+# Generated by mksrcinfo v8
+# Tue Dec 15 03:41:36 UTC 2015
+pkgbase = ccsm-git
+ pkgdesc = Compizconfig Settings Manager in Python2
+ pkgver = 0.8.10.r2.g4a1bedd
+ pkgrel = 1
+ url = http://git.northfield.ws/compiz/?p=compiz/ccsm;a=summary
+ install = ccsm.install
+ arch = any
+ groups = compiz-fusion
+ groups = compiz-fusion-gtk
+ groups = compiz-fusion-kde
+ license = GPL
+ makedepends = intltool
+ depends = compizconfig-python-git
+ depends = pygtk
+ optdepends = compiz-gtk-standalone: option 1
+ optdepends = compiz-core: option 2
+ optdepends = python2-sexy: needed for some widgets
+ provides = ccsm=0.8.10.r2.g4a1bedd
+ conflicts = ccsm
+ source = git://northfield.ws/compiz/ccsm
+ sha1sums = SKIP
+
+pkgname = ccsm-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9eb8d7a576e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: OS Hazard <oshazard+aur@gmail.com>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com>
+# Contributor: nesl247 <nesl247@gmail.com>
+
+pkgname=ccsm-git
+pkgver=0.8.10.r2.g4a1bedd
+pkgrel=1
+pkgdesc="Compizconfig Settings Manager in Python2"
+arch=('any')
+url="http://git.northfield.ws/compiz/?p=compiz/ccsm;a=summary"
+license=('GPL')
+depends=("compizconfig-python-git" 'pygtk')
+makedepends=('intltool')
+optdepends=('compiz-gtk-standalone: option 1' 'compiz-core: option 2' 'python2-sexy: needed for some widgets')
+groups=('compiz-fusion' 'compiz-fusion-gtk' 'compiz-fusion-kde')
+conflicts=('ccsm')
+provides=("ccsm=$pkgver")
+source=(
+ 'git://northfield.ws/compiz/ccsm'
+)
+install=ccsm.install
+sha1sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${pkgname%%-git}"
+ git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+package() {
+ cd "${srcdir}/${pkgname%%-git}"
+ python2 ./setup.py install --prefix=/usr --root="${pkgdir}"
+}
diff --git a/ccsm.install b/ccsm.install
new file mode 100644
index 00000000000..f03315d39da
--- /dev/null
+++ b/ccsm.install
@@ -0,0 +1,15 @@
+pkgname=ccsm
+
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ gtk-update-icon-cache -q -t -f /usr/share/ccsm/icons/hicolor
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+
+post_remove() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}