summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorCarsten Teibes2014-10-10 21:58:17 +0200
committerCarsten Teibes2014-10-10 21:58:17 +0200
commit7052f03f1c822ce925644c1bcd6ef31717dcc5df (patch)
tree0addc9813f96cfd16625b0d57963de2ca2d62f02 /PKGBUILD
downloadaur-7052f03f1c822ce925644c1bcd6ef31717dcc5df.tar.gz
[add] gtk-engine-murrine-git
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..870d27f410a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
+# Contributor: Alexander De Sousa <archaur.xandy21@spamgourmet.com>
+# Contributor: zhuqin <zhuqin83@gmail.com>
+
+pkgname=gtk-engine-murrine-git
+pkgver=0.98.2.r406.2032a9b
+pkgrel=1
+pkgdesc="The marvelous gtk2 cairo engine (development version)"
+arch=('i686' 'x86_64')
+url="http://cimitan.com/murrine/"
+license=('LGPL')
+depends=('gtk2')
+makedepends=('git' 'intltool')
+conflicts=("${pkgname%-*}")
+provides=("${pkgname%-*}")
+source=("${pkgname%-*}"::"git+https://git.gnome.org/browse/murrine"
+ "newer-automakes.patch")
+sha256sums=('SKIP'
+ 'f36037693603ca450a8bc7e2c0ba7269af18640123b87fc6dd2eb11b3e423be3')
+
+pkgver() {
+ cd "${pkgname%-*}"
+
+ _ver=$(grep AC_INIT configure.ac | sed 's/[^0-9.]//g')
+ _rev=$(git rev-list --count HEAD)
+ _hash=$(git rev-parse --short HEAD)
+ printf "$_ver.r%s.%s" "$_rev" "$_hash"
+}
+
+prepare() {
+ cd "${pkgname%-*}"
+
+ patch -Nup1 < ../newer-automakes.patch
+}
+
+build() {
+ cd "${pkgname%-*}"
+
+ ./autogen.sh --prefix=/usr --enable-animation --enable-animationrtl
+ make
+}
+
+package() {
+ make -C "${pkgname%-*}" DESTDIR="$pkgdir" install
+}