summaryrefslogtreecommitdiff
path: root/libre/glib2-static/PKGBUILD
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-23 17:27:23 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-23 17:27:23 -0300
commitcdf84506d9a341e473573d87d446c9aea4b4a24f (patch)
treea48013158a430d533d3dac96ff935376dacff444 /libre/glib2-static/PKGBUILD
parentce11fd60dd39d4288dedededaf47cf4e8a7e7dce (diff)
glib2-static: fix PKGBUILD
Diffstat (limited to 'libre/glib2-static/PKGBUILD')
-rw-r--r--libre/glib2-static/PKGBUILD13
1 files changed, 4 insertions, 9 deletions
diff --git a/libre/glib2-static/PKGBUILD b/libre/glib2-static/PKGBUILD
index 7cd113ba2..5f0c284f2 100644
--- a/libre/glib2-static/PKGBUILD
+++ b/libre/glib2-static/PKGBUILD
@@ -4,11 +4,11 @@
pkgbase=glib2
pkgname=glib2-static
pkgver=2.48.0
-pkgrel=1
+pkgrel=1.1
pkgdesc="Common C routines used by GTK+ and other libs (static libraries only)"
url="http://www.gtk.org/"
arch=(i686 x86_64 armv7h)
-makedepends=('pkg-config' 'python' 'libxslt' 'docbook-xml' 'pcre' 'libffi' 'libelf')
+makedepends=('python')
source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver:0:4}/glib-$pkgver.tar.xz
revert-warn-glib-compile-schemas.patch)
sha256sums=('744be6931ca914c68af98dc38ff6b0cf8381d65e335060faddfbf04c17147c34'
@@ -22,7 +22,6 @@ prepare() {
build() {
cd glib-$pkgver
./configure --prefix=/usr --libdir=/usr/lib \
- --with-pcre=system \
--disable-fam --enable-static
make
}
@@ -33,17 +32,13 @@ check() {
}
package() {
- depends=('pcre-static' 'libffi-static' 'glib2')
- options=('!docs' '!emptydirs' 'staticlibs')
+ depends=('glib2')
+ options=('staticlibs')
license=('LGPL')
cd glib-$pkgver
make completiondir=/usr/share/bash-completion/completions DESTDIR="$pkgdir" install
- for _i in "$pkgdir/usr/share/bash-completion/completions/"*; do
- chmod -x "$_i"
- done
-
# remove conflicting files
rm -vr ${pkgdir}/usr/{bin,lib/{glib-*,pkgconfig},include,share}
rm -v ${pkgdir}/usr/lib/lib*.so*