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

recipes/utils/libcroco/PAGBUILD.yaml main

34 linii Raw ← Powrót
12345678910111213141516171819202122232425262728293031323334
pkgname: libcroco
pkgver: '0.6.13'
pkgrel: '5'
pkgdesc: 'The libcroco package contains a standalone CSS2 parsing and manipulation library.'
url: 'https://launchpad.net/libcroco'
arch: x86_64
depends: []
makedepends:
- libxml2
- glib

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

sha256sums:
- SKIP

build: |
  cd ${pkgname}-${pkgver}
  ./configure --prefix=/usr --disable-static
  make
  make DESTDIR="${PKGDIR}" install

package: |
  rm -f ${PKGDIR}/usr/lib/${pkgname}-0.6.la

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"