Fix #436: Clean apkbuilds (#692)

* Remove empty build() functions
* Remove obsolete '|| return 1' statements
This commit is contained in:
Pablo Castellano 2017-10-04 17:05:00 +02:00 committed by Oliver Smith
parent edbe7f92d7
commit dbbdf7cfa4
66 changed files with 212 additions and 352 deletions

View file

@ -1,6 +1,6 @@
pkgname=libsparse
pkgver="1.0.0"
pkgrel=1
pkgrel=2
pkgdesc="Android Sparse library"
url="https://android.googlesource.com"
arch="all"
@ -22,7 +22,7 @@ package() {
cd "$srcdir"/android-simg2img-"$pkgver"
for i in append2simg img2simg simg2img simg2simg simg_dump.py; do
install -D -m755 "$i" "$pkgdir"/usr/bin/"$i" || return 1
install -D -m755 "$i" "$pkgdir"/usr/bin/"$i"
done
}