summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorShadowKyogre2015-12-14 19:41:39 -0800
committerShadowKyogre2015-12-14 19:41:39 -0800
commitc602067781c6657801798c6f8c30ac34469ca93a (patch)
treef725449cde2280aff9997ee33ac83028204eca58
downloadaur-c602067781c6657801798c6f8c30ac34469ca93a.tar.gz
Make gitified compiz PKGBUILD: libcompizconfig-git
-rw-r--r--.SRCINFO29
-rw-r--r--PKGBUILD45
2 files changed, 74 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dc6ad8ddbe5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,29 @@
+# Generated by mksrcinfo v8
+# Tue Dec 15 03:41:39 UTC 2015
+pkgbase = libcompizconfig-git
+ pkgdesc = Compiz configuration system library
+ pkgver = 0.8.10.r2.g2eacaf2
+ pkgrel = 1
+ url = http://git.northfield.ws/compiz/?p=compiz/libcompizconfig;a=summary
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = intltool
+ makedepends = libxrandr
+ makedepends = libice
+ makedepends = libsm
+ makedepends = mesa
+ depends = compiz-core
+ depends = libxml2
+ depends = libxcomposite
+ depends = libxinerama
+ depends = protobuf
+ depends = startup-notification
+ provides = libcompizconfig
+ conflicts = libcompizconfig
+ options = !emptydirs
+ source = git://northfield.ws/compiz/libcompizconfig
+ sha1sums = SKIP
+
+pkgname = libcompizconfig-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..60ff8947df0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer : Martin Wimpress <code@flexion.org>
+# Contributor: Ronald van Haren <ronald.archlinux.org>
+# Contributor: JJDaNiMoTh <jjdanimoth@gmail.com>
+# Contributor: nesl247 <nesl247@gmail.com>
+
+pkgname=libcompizconfig-git
+pkgver=0.8.10.r2.g2eacaf2
+pkgrel=1
+pkgdesc="Compiz configuration system library"
+arch=('i686' 'x86_64')
+url="http://git.northfield.ws/compiz/?p=compiz/libcompizconfig;a=summary"
+license=('GPL')
+depends=('compiz-core' 'libxml2' 'libxcomposite' 'libxinerama' 'protobuf' 'startup-notification')
+makedepends=('intltool' 'libxrandr' 'libice' 'libsm' 'mesa')
+conflicts=('libcompizconfig')
+provides=('libcompizconfig')
+options=('!emptydirs')
+source=(
+ 'git://northfield.ws/compiz/libcompizconfig'
+)
+sha1sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${pkgname%%-git}"
+ git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
+}
+
+prepare() {
+ cd "${srcdir}/${pkgname%%-git}"
+ NOCONFIGURE=1 ./autogen.sh
+}
+
+build() {
+ cd "${srcdir}/${pkgname%%-git}"
+ CPPFLAGS="$CPPFLAGS -I/usr/include/compiz \
+ -I/usr/include/startup-notification-1.0 \
+ -I/usr/include/libxml2" \
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname%%-git}"
+ make DESTDIR="${pkgdir}" install
+}