🔒 Repository is read-only – file editing is disabled.

recipes/gui/murrine/PAGBUILD.yaml main

41 linii Raw ← Powrót
1234567891011121314151617181920212223242526272829303132333435363738394041
pkgname: murrine
pkgver: '0.98.2'
pkgrel: '6'
pkgdesc: 'Cairo based GTK engine.'
url: 'http://www.cimitan.com/murrine/'
arch: x86_64
depends: []
makedepends:
- gtk2
- 'perl-xml-parser'

source:
- 'https://download.gnome.org/sources/${pkgname}/0.98/${pkgname}-${pkgver}.tar.xz'

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}

  ./configure \
  --prefix=/usr \
  --enable-animation \
  --enable-animationrtl

  make
  make DESTDIR=${PKGDIR} install
  # Obsolet lib
  rm -f ${PKGDIR}/usr/lib/gtk-2.0/2.10.0/engines/libmurrine.la

package: |
  true

update: |
  local latest lastversion url
  url="https://download.gnome.org/sources/${pkgname}"
  latest="`lynx -read_timeout=20 -dump -listonly -nonumbers \
  $url/?C=N\;O=D|grep [0-9]/$|head -1`"
  lastversion="`lynx -read_timeout=20 -dump -listonly -nonumbers \
  $latest/?C=N\;O=D|grep LATEST|grep [0-9]$|cut -d "-" -f3`"
  echo "$lastversion"