diff options
-rw-r--r-- | libre/glib2-static/PKGBUILD | 8 |
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* } |