[arch-commits] Commit in lib32-libcroco/trunk (PKGBUILD)
Laurent Carlier
lcarlier at archlinux.org
Sat Jul 8 21:37:38 UTC 2017
Date: Saturday, July 8, 2017 @ 21:37:37
Author: lcarlier
Revision: 243371
upgpkg: lib32-libcroco 0.6.12+4+g9ad7287-1
sync with extra
Modified:
lib32-libcroco/trunk/PKGBUILD
----------+
PKGBUILD | 37 +++++++++++++++++++++++++++----------
1 file changed, 27 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-07-08 21:27:01 UTC (rev 243370)
+++ PKGBUILD 2017-07-08 21:37:37 UTC (rev 243371)
@@ -5,19 +5,35 @@
# Contributor: speps <speps.aur at 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/"
+depends=('lib32-glib2' 'lib32-libxml2' 'libcroco')
+makedepends=('gcc-multilib' 'git' 'gtk-doc')
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')
+_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'
@@ -26,12 +42,13 @@
./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}
More information about the arch-commits
mailing list