Skip to content

Commit

Permalink
* update libcroco to 0.6.13
Browse files Browse the repository at this point in the history
  • Loading branch information
kth5 committed Apr 24, 2019
1 parent 772f713 commit 5f8bcca
Showing 1 changed file with 20 additions and 10 deletions.
30 changes: 20 additions & 10 deletions libcroco/PKGBUILD
Expand Up @@ -3,30 +3,40 @@
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=libcroco
pkgver=0.6.12
pkgrel=2
pkgver=0.6.13
pkgrel=1
pkgdesc="A CSS parsing library"
url="https://gitlab.gnome.org/GNOME/libcroco"
arch=(x86_64 powerpc64le)
depends=(glib2 libxml2)
makedepends=(intltool) # gtk-doc)
makedepends=(intltool git gtk-doc)
license=(LGPL)
_commit=9ad72875e9f08e4c519ef63d44cdbd94aa9504f7 # master
source=("https://ftp.osuosl.org/pub/blfs/conglomeration/libcroco/libcroco-${pkgver}.tar.xz")
sha256sums=('ddc4b5546c9fb4280a5017e2707fbd4839034ed1aba5b7d4372212f34f84f860')
_commit=7e15ca6c2c29a4b78367e6efa6195b331a92b2a7 # tags/0.6.13^0
source=("git+https://gitlab.gnome.org/GNOME/libcroco.git#commit=$_commit")
sha256sums=('SKIP')

pkgver() {
cd $pkgname
git describe --tags | sed 's/-/+/g'
}

prepare() {
cd $pkgname
NOCONFIGURE=1 ./autogen.sh
}

check() {
cd $pkgname-$pkgver
cd $pkgname
make check
}

build() {
cd $pkgname-$pkgver
./configure --prefix=/usr --disable-static --disable-gtk-doc
cd $pkgname
./configure --prefix=/usr --disable-static --enable-gtk-doc
make
}

package() {
cd $pkgname-$pkgver
cd $pkgname
make DESTDIR="$pkgdir" install
}

0 comments on commit 5f8bcca

Please sign in to comment.