SHARE
TWEET

PKGBUILD

a guest Feb 3rd, 2016 148 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: carstene1ns <arch carsten-teibes de> - http://git.io/ctPKG
  2. # Contributor: Alexander De Sousa <archaur.xandy21@spamgourmet.com>
  3. # Contributor: zhuqin <zhuqin83@gmail.com>
  4.  
  5. pkgname=gtk-engine-murrine-git
  6. pkgver=0.98.2.r407.30dda14
  7. pkgrel=1
  8. pkgdesc="The marvelous gtk2 cairo engine (development version)"
  9. arch=('i686' 'x86_64')
  10. url="http://cimitan.com/murrine/"
  11. license=('LGPL')
  12. depends=('gtk2')
  13. makedepends=('git' 'intltool')
  14. conflicts=("${pkgname%-*}")
  15. provides=("${pkgname%-*}")
  16. source=("${pkgname%-*}"::"git+https://git.gnome.org/browse/murrine"
  17.         "newer-automakes.patch")
  18. sha256sums=('SKIP'
  19.             '9bcbce441b311bc556301dc606cbdf6cdb9a5e9aaf1cb88284333fac70084bd7')
  20.  
  21. pkgver() {
  22.   cd "${pkgname%-*}"
  23.  
  24.   _ver=$(grep AC_INIT configure.ac | sed 's/[^0-9.]//g')
  25.   _rev=$(git rev-list --count HEAD)
  26.   _hash=$(git rev-parse --short HEAD)
  27.   printf "$_ver.r%s.%s" "$_rev" "$_hash"
  28. }
  29.  
  30. prepare() {
  31.   cd "${pkgname%-*}"
  32.  
  33.   patch -Nup1 < ../newer-automakes.patch
  34. }
  35.  
  36. build() {
  37.   cd "${pkgname%-*}"
  38.  
  39.   ./autogen.sh --prefix=/usr --enable-animation --enable-animationrtl
  40.   make
  41. }
  42.  
  43. package() {
  44.   make -C "${pkgname%-*}" DESTDIR="$pkgdir" install
  45. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Top