Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # 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.r407.30dda14
- 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'
- '9bcbce441b311bc556301dc606cbdf6cdb9a5e9aaf1cb88284333fac70084bd7')
- 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
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement