summaryrefslogtreecommitdiff
path: root/libre
diff options
context:
space:
mode:
authorcoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-16 12:22:25 -0300
committercoadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu>2016-04-16 12:25:23 -0300
commitec63e6310bff80553d8633a1ec4e465492acc261 (patch)
treeeb3eb2d88a11153986177a1210df179f1ef58fd3 /libre
parent4cb1d090dc64699e4d186f6688dc9e44c1be098a (diff)
downloadabslibre-ec63e6310bff80553d8633a1ec4e465492acc261.tar.gz
abslibre-ec63e6310bff80553d8633a1ec4e465492acc261.tar.bz2
abslibre-ec63e6310bff80553d8633a1ec4e465492acc261.zip
glib2-static: fix pkgbuild
Diffstat (limited to 'libre')
-rw-r--r--libre/glib2-static/PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/libre/glib2-static/PKGBUILD b/libre/glib2-static/PKGBUILD
index c5c50baa3..1dfd606fe 100644
--- a/libre/glib2-static/PKGBUILD
+++ b/libre/glib2-static/PKGBUILD
@@ -23,7 +23,7 @@ build() {
cd glib-$pkgver
./configure --prefix=/usr --libdir=/usr/lib \
--with-pcre=system \
- --disable-fam
+ --disable-fam --enable-static
make
}
@@ -44,7 +44,7 @@ package() {
chmod -x "$_i"
done
- # Our gdb does not ship the required python modules, so remove it
- rm -rf "$pkgdir/usr/share/gdb/"
-}
+ # remove unused files
+ rm -vr ${pkgdir}/usr/{bin,lib/{glib-*,pkgconfig},include,share}
+ rm -v ${pkgdir}/usr/lib/lib*.so*
}