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 7a519a911e
commit 3fb17225f6
67 changed files with 214 additions and 355 deletions

View file

@ -53,13 +53,12 @@ def generate(args, pkgname):
--enable-deterministic-archives \\
--disable-multilib \\
--disable-werror \\
--disable-nls \\
|| return 1
--disable-nls
make
""",
"package": """
cd "$builddir"
make install DESTDIR="$pkgdir" || return 1
make install DESTDIR="$pkgdir"
# remove man, info folders
rm -rf "$pkgdir"/usr/share