Do not delete *.la files manually

Since abuild v2.22.0, these are removed automatically unless 'libtool'
option has been specified.
parent ca35fd9d
......@@ -54,9 +54,9 @@ build() {
package() {
cd "$srcdir"/$pkgname-$pkgver
make -j1 DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
sed -i "s:^countdictstack: \0:" "$pkgdir"/usr/bin/psset || return 1
}
md5sums="781ac3d9b213fa3e1ed0d79f986dc8c7 a2ps-4.14.tar.gz
93011b58e9f20a7fafa31287a51884a4 a2ps-4.13c-fnmatch-replacement.patch
2e493d0bc00d71eb3e8a9b6febc52b69 a2ps-4.13c-emacs.patch
......
......@@ -40,7 +40,6 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
install -m644 liba52/a52_internal.h "$pkgdir"/usr/include/a52dec/ || return 1
}
......
......@@ -58,8 +58,6 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/abiword*/plugins/*.la \
"$pkgdir"/usr/lib/*.la || return 1
}
_do_plugin() {
......
......@@ -45,8 +45,6 @@ build() {
package() {
cd "$_builddir"
make DIST_ROOT="$pkgdir" install install-lib install-dev || return 1
rm "$pkgdir"/usr/lib/*.la "$pkgdir"/lib/*.la "$pkgdir"/lib/*.a \
|| return 1
chown -R root:root "$pkgdir"/*
}
......
......@@ -50,7 +50,6 @@ package() {
make DESTDIR="$pkgdir" install pkgconfigdir=/usr/lib/pkgconfig\
DATADIRNAME=share \
|| return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="9ef86952c947aa27a1a888b7735d60b3 adwaita-icon-theme-3.16.2.1.tar.xz"
......
......@@ -58,7 +58,6 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="1bdd9f8a06e6085ea4cc38ce010ef60b afpfs-ng-0.8.1.tar.bz2
......
......@@ -48,7 +48,6 @@ build() {
package() {
cd "$srcdir/$pkgname-$pkgver"
make -j1 DESTDIR="$pkgdir" install || return 1
find "$pkgdir" -iname *.la -delete
}
md5sums="de67e0eca72474d6b1121037dafe1024 alsa-lib-1.0.29.tar.bz2
......
......@@ -38,7 +38,6 @@ package() {
/usr/share/apache2/build/instdso.sh SH_LIBTOOL='/usr/share/build-1/libtool' mod_auth_radius-2.0.la "$pkgdir"/usr/lib/apache2/
/usr/share/build-1/libtool --mode=install install mod_auth_radius-2.0.la "$pkgdir"/usr/lib/apache2/
install -D -m644 ../../mod-auth-radius.conf "$pkgdir"/etc/apache2/conf.d/mod-auth-radius.conf
rm "$pkgdir"/usr/lib/apache2/*.la
}
md5sums="87d8ef049736254cc09f8b34667f0e59 mod_auth_radius-1.5.8.tar
......
......@@ -47,7 +47,6 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la "$pkgdir"/usr/lib/asb-plugins/*.la
}
builder() {
......
......@@ -38,9 +38,7 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/apr-util*/*.la \
"$pkgdir"/usr/lib/*.exp \
"$pkgdir"/usr/lib/*.la || return 1
rm "$pkgdir"/usr/lib/*.exp || return 1
}
_mv_mod() {
......
......@@ -34,7 +34,6 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
# basicly everything thats not a *.so* file belongs to the -dev package
......
......@@ -38,8 +38,6 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/aspell*/*.la \
"$pkgdir"/usr/lib/*.la || return 1
ln -s $pkgname-${_pkgmajorver} "$pkgdir"/usr/lib/$pkgname || return 1
}
md5sums="e66a9c9af6a60dc46134fdacf6ce97d7 aspell-0.60.6.1.tar.gz
......
......@@ -42,7 +42,6 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
find "$pkgdir"/usr/lib -name '*.la' -delete
}
md5sums="8936488c8cdce0e158f80b2e247527f9 at-spi2-atk-2.16.0.tar.xz"
......
......@@ -40,7 +40,6 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="be6eeea370f913b7639b609913b2cf02 at-spi2-core-2.16.0.tar.xz"
......
......@@ -31,7 +31,6 @@ build() {
package() {
cd "$srcdir"/$pkgname-$pkgver
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
md5sums="c7c5002bd6e58b4723a165f1bf312116 atk-2.16.0.tar.xz"
......
......@@ -31,7 +31,6 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
}
md5sums="fec7db3fc47ba2e0c95d130ec865a236 atkmm-2.22.7.tar.xz"
......
......@@ -43,7 +43,6 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="${pkgdir}" install || return 1
find "$pkgdir" -name \*.la -delete
}
md5sums="53173eb29b3b6a906c2470d7572cca02 atril-1.10.2.tar.xz"
......
......@@ -79,7 +79,6 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="d21a794cc1e2a1567d3d75b53b1f2f02 audacity-minsrc-2.1.0.tar.xz
......
......@@ -57,7 +57,6 @@ package() {
make DESTDIR="$pkgdir" install || return 1
rm -rf "$pkgdir"/usr/lib/charset.alias
rmdir -p "$pkgdir"/usr/lib 2>/dev/null
rm "$pkgdir"/usr/lib/*.la || return 1
}
tests() {
......
......@@ -70,8 +70,7 @@ package() {
for i in avahi-ui avahi-python; do
( cd $i && make DESTDIR="$pkgdir" install) || return 1
done
rm -r "$pkgdir"/usr/lib/*.la \
"$pkgdir"/usr/lib/py* || return 1
rm -r "$pkgdir"/usr/lib/py* || return 1
}
tools() {
......
......@@ -68,13 +68,11 @@ package() {
ln -s avahi-compat-libdns_sd.pc \
"$pkgdir"/usr/lib/pkgconfig/libdns_sd.pc
ln -s avahi-compat-libdns_sd/dns_sd.h "$pkgdir"/usr/include/
rm -r "$pkgdir"/usr/lib/*.la "$pkgdir"/usr/bin/avahi-bookmarks \
|| return 1
rm -r "$pkgdir"/usr/bin/avahi-bookmarks || return 1
}
dev() {
default_dev
rm -f "$subpkgdir"/usr/lib/*.la
}
tools() {
......
......@@ -35,8 +35,6 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la
rm "$pkgdir"/usr/lib/*.a
}
md5sums="25f0bfe76640917239563e11e3c0a9ac avfs-1.0.3.tar.bz2"
......
......@@ -41,7 +41,6 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="a2a762fce0c96781965c8f9786a3d09d axel-2.4.tar.gz"
......@@ -30,7 +30,5 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/babl*/*.la \
"$pkgdir"/usr/lib/*.la || return 1
}
md5sums="9e1542ab5c0b12ea3af076a9a2f02d79 babl-0.1.10.tar.bz2"
......@@ -81,7 +81,6 @@ package() {
install -Dm644 "$srcdir"/bacula-fd-conf \
"$pkgdir"/etc/conf.d/bacula-fd
chown bacula.bacula "$pkgdir"/var/lib/bacula
find "$pkgdir" -iname *.la -delete
find "$pkgdir"/usr/lib -iname libbaccats* -type l -delete
}
......
......@@ -104,7 +104,6 @@ package() {
do
chown bacula.bacula "$pkgdir"$dir || return 1
done
find "$pkgdir" -iname *.la -delete
find "$pkgdir"/usr/lib -iname libbaccats* -type l -delete
}
......
......@@ -39,7 +39,6 @@ package() {
mkdir -p "$pkgdir"/lib/udev/rules.d
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="d1632a7c37214e0aa38f3cf95624fa46 bcache-tools-1.0.8.tar.gz
......
......@@ -42,7 +42,6 @@ build() {
package() {
cd "$_builddir"
make libaltdir=/usr/lib DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="8441c014170823f2dff97e33df55af1e beecrypt-4.2.1.tar.gz"
......
......@@ -84,7 +84,6 @@ package() {
"$pkgdir"/var/bind/pri || return 1
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/lib/*.la || return 1
install -Dm755 "$srcdir"/named.initd \
"$pkgdir"/etc/init.d/named || return 1
......
......@@ -74,7 +74,6 @@ package() {
rm -r "$pkgdir"/usr/share
rm -f "$pkgdir"/usr/lib/libiberty.a
fi
find "$pkgdir" -name "*.la" -delete
}
libs() {
......
......@@ -46,7 +46,6 @@ build() {
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm -f "$pkgdir"/usr/lib/*.la
}
md5sums="4da13a2dcfa17847168e50e62be4f67a bitchx-1.2.1.tar.gz"
......