Skip to content
Snippets Groups Projects
Commit 0c3297b0 authored by Laurent Carlier's avatar Laurent Carlier
Browse files

sync with extra

parent 1ab3976b
Branches master
No related tags found
No related merge requests found
......@@ -4,19 +4,35 @@
# Contributor: speps <speps.aur@archlinux.org>
pkgname=lib32-libcroco
pkgver=0.6.11
pkgver=0.6.12+4+g9ad7287
pkgrel=1
pkgdesc='GNOME CSS2 parsing and manipulation toolkit'
pkgdesc='GNOME CSS2 parsing and manipulation toolkit (32-bit)'
url="https://git.gnome.org/browse/libcroco"
arch=('x86_64')
url="http://www.gnome.org/"
license=('LGPL')
depends=('lib32-glib2' 'lib32-libxml2' 'libcroco')
makedepends=('gcc-multilib')
source=("https://download.gnome.org/sources/libcroco/0.6/libcroco-${pkgver}.tar.xz")
md5sums=('dabc1911dfbfa85f8e6859ca47863168')
makedepends=('gcc-multilib' 'git' 'gtk-doc')
license=('LGPL')
_commit=9ad72875e9f08e4c519ef63d44cdbd94aa9504f7 # master
source=("git+https://git.gnome.org/browse/libcroco#commit=$_commit")
sha256sums=('SKIP')
pkgver() {
cd libcroco
git describe --tags | sed 's/-/+/g'
}
prepare() {
cd libcroco
NOCONFIGURE=1 ./autogen.sh
}
check() {
cd libcroco
make check
}
build() {
cd libcroco-${pkgver}
cd libcroco
export CC='gcc -m32'
export CXX='g++ -m32'
......@@ -25,12 +41,13 @@ build() {
./configure \
--prefix='/usr' \
--libdir='/usr/lib32' \
--disable-static
--disable-static \
--disable-gtk-doc
make
}
package() {
cd libcroco-${pkgver}
cd libcroco
make DESTDIR="${pkgdir}" install
rm -rf "${pkgdir}"/usr/{bin,include,share}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment