2021-04-03 11:44:51 +03:00

41 lines
1.2 KiB
Bash

# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Roman Kyrylych <Roman.Kyrylych@gmail.com>
# Contributor: detto <detto-brumm@freenet.de>
# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=gtk-engine-murrine
pkgver=0.98.2
pkgrel=4
pkgdesc="GTK2 engine to make your desktop look like a 'murrina', an italian word meaning the art glass works done by Venicians glass blowers."
arch=('x86_64' 'powerpc64le' 'powerpc')
url="http://cimitan.com/murrine/project/murrine"
license=('LGPL3')
depends=('gtk2')
makedepends=('intltool')
source=(https://ftp.gnome.org/pub/GNOME/sources/murrine/0.98/murrine-${pkgver}.tar.xz
fix-crasher.patch)
sha256sums=('e9c68ae001b9130d0f9d1b311e8121a94e5c134b82553ba03971088e57d12c89'
'e33f76ea23e38eecd2921300c7c01ff06ca33f63b9c7810d83d95e47681fe7da')
prepare() {
cd murrine-${pkgver}
# https://bugs.archlinux.org/task/48294
patch -Np1 -i ../fix-crasher.patch
}
build() {
cd murrine-${pkgver}
./configure \
--prefix=/usr \
--enable-animation \
--enable-animationrtl
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
package() {
cd murrine-${pkgver}
make DESTDIR="$pkgdir" install
}