[arch-commits] Commit in libgksu/trunk (PKGBUILD)
Jan de Groot
jgc at archlinux.org
Fri Sep 15 21:14:07 UTC 2017
Date: Friday, September 15, 2017 @ 21:14:06
Author: jgc
Revision: 305635
upgpkg: libgksu 2.0.12-8
Rebuild for libgtop. Disable gtk-doc documentation as it does not build due to changed in gtk-doc
Modified:
libgksu/trunk/PKGBUILD
----------+
PKGBUILD | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-15 21:05:49 UTC (rev 305634)
+++ PKGBUILD 2017-09-15 21:14:06 UTC (rev 305635)
@@ -3,7 +3,7 @@
pkgname=libgksu
pkgver=2.0.12
-pkgrel=7
+pkgrel=8
pkgdesc="gksu authorization library"
arch=(i686 x86_64)
url="http://www.nongnu.org/gksu/index.html"
@@ -28,7 +28,7 @@
'58d3a4a9d2ac741951720043ea3f7b5f'
'0b5c3d5d9b32cb3e65d9f0bfbcb11a76')
-build() {
+prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/libgksu-2.0.0-fbsd.patch"
patch -Np1 -i "${srcdir}/libgksu-2.0.7-libs.patch"
@@ -42,8 +42,12 @@
intltoolize --force --copy --automake
autoreconf -fi
+}
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc \
- --localstatedir=/var --disable-static --disable-schemas-install
+ --localstatedir=/var --disable-static --disable-schemas-install --disable-gtk-doc
sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
make
}
More information about the arch-commits
mailing list