diff options
-rw-r--r-- | main/jpeg/APKBUILD | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/jpeg/APKBUILD b/main/jpeg/APKBUILD index 49f8e47e7c..19d620c0e3 100644 --- a/main/jpeg/APKBUILD +++ b/main/jpeg/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=jpeg pkgver=8 -pkgrel=4 +pkgrel=5 pkgdesc="JPEG image tools" url="http://www.ijg.org/" arch="all" @@ -26,7 +26,8 @@ build() { package() { cd "$_builddir" - make -j1 install DESTDIR="$pkgdir" + make -j1 install DESTDIR="$pkgdir" || return 1 + rm "$pkgdir"/usr/lib/*.la || return 1 install -Dm644 jpegint.h "$pkgdir"/usr/include/jpegint.h } |