aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/libatasmart/APKBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/main/libatasmart/APKBUILD b/main/libatasmart/APKBUILD
index 3c378536ae..cfd76d9087 100644
--- a/main/libatasmart/APKBUILD
+++ b/main/libatasmart/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libatasmart
pkgver=0.17
-pkgrel=1
+pkgrel=2
pkgdesc="ATA S.M.A.R.T. Reading and Parsing Library"
url="http://0pointer.de/blog/projects/being-smart.html"
arch="all"
@@ -35,7 +35,8 @@ build() {
package() {
cd "$_builddir"
- make DESTDIR="$pkgdir" install
+ make DESTDIR="$pkgdir" install || return 1
+ rm "$pkgdir"/usr/lib/*.la || return 1
}
md5sums="dc36cadbbb7fa38f8af175713eda1a21 libatasmart-0.17.tar.gz"