[add] lib32-gtk-engine-murrine-git

This commit is contained in:
Carsten Teibes 2014-10-10 21:58:17 +02:00
commit 2bb632fa8a
3 changed files with 90 additions and 0 deletions

21
.SRCINFO Normal file
View file

@ -0,0 +1,21 @@
pkgbase = lib32-gtk-engine-murrine-git
pkgdesc = The marvelous gtk2 cairo engine (development version, 32 bit)
pkgver = 0.98.2.r406.2032a9b
pkgrel = 1
url = http://cimitan.com/murrine/
arch = x86_64
license = LGPL
makedepends = git
makedepends = intltool
makedepends = gcc-multilib
depends = lib32-gtk2
depends = gtk-engine-murrine
provides = lib32-gtk-engine-murrine
conflicts = lib32-gtk-engine-murrine
source = lib32-gtk-engine-murrine::git+https://git.gnome.org/browse/murrine
source = newer-automakes.patch
sha256sums = SKIP
sha256sums = f36037693603ca450a8bc7e2c0ba7269af18640123b87fc6dd2eb11b3e423be3
pkgname = lib32-gtk-engine-murrine-git

48
PKGBUILD Normal file
View file

@ -0,0 +1,48 @@
# Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
# Contributor: twa022 <twa022 at gmail dot com>
pkgname=lib32-gtk-engine-murrine-git
pkgver=0.98.2.r406.2032a9b
pkgrel=1
pkgdesc="The marvelous gtk2 cairo engine (development version, 32 bit)"
arch=('x86_64')
url="http://cimitan.com/murrine/"
license=('LGPL')
depends=('lib32-gtk2' "${pkgname:6:-4}")
makedepends=('git' 'intltool' 'gcc-multilib')
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%-*}"
export CC='gcc -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
./autogen.sh --prefix=/usr --libdir=/usr/lib32 --enable-animation --enable-animationrtl
make
}
package() {
make -C "${pkgname%-*}" DESTDIR="$pkgdir" install
rm -rf "$pkgdir"/usr/share
}

21
newer-automakes.patch Normal file
View file

@ -0,0 +1,21 @@
diff -Naur murrine.old/autogen.sh murrine/autogen.sh
--- murrine.old/autogen.sh 2014-10-10 19:42:40.369018392 +0200
+++ murrine/autogen.sh 2014-10-10 19:43:37.899773129 +0200
@@ -16,7 +16,16 @@
DIE=1
}
-if automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then
+if automake-1.14 --version < /dev/null > /dev/null 2>&1 ; then
+ AUTOMAKE=automake-1.14
+ ACLOCAL=aclocal-1.14
+elif automake-1.13 --version < /dev/null > /dev/null 2>&1 ; then
+ AUTOMAKE=automake-1.13
+ ACLOCAL=aclocal-1.13
+elif automake-1.12 --version < /dev/null > /dev/null 2>&1 ; then
+ AUTOMAKE=automake-1.12
+ ACLOCAL=aclocal-1.12
+elif automake-1.11 --version < /dev/null > /dev/null 2>&1 ; then
AUTOMAKE=automake-1.11
ACLOCAL=aclocal-1.11
elif automake-1.10 --version < /dev/null > /dev/null 2>&1 ; then