summaryrefslogtreecommitdiff
path: root/sample.APKBUILD
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2017-04-04 17:55:50 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2017-04-05 10:30:44 +0000
commitc95263d877ca3ed953de0a114b2c1ccb9aa04b65 (patch)
tree86766c6b87d8b7f6ab5dd4c1d9c64d04fa18af48 /sample.APKBUILD
parentecc1f509c6d469223cfbf4ef3f7c574de286ba6e (diff)
downloadabuild-c95263d877ca3ed953de0a114b2c1ccb9aa04b65.tar.gz
abuild-c95263d877ca3ed953de0a114b2c1ccb9aa04b65.tar.bz2
abuild-c95263d877ca3ed953de0a114b2c1ccb9aa04b65.tar.xz
abuild-c95263d877ca3ed953de0a114b2c1ccb9aa04b65.zip
remove explicit `|| return 1` from all sample APKBUILDs
Those statement are no longer needed because abuild now runs with `set -e` by default. See also: 36d5193776180385a39626a83241822736a5f6b8
Diffstat (limited to 'sample.APKBUILD')
-rw-r--r--sample.APKBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/sample.APKBUILD b/sample.APKBUILD
index 30184c5..95a6634 100644
--- a/sample.APKBUILD
+++ b/sample.APKBUILD
@@ -31,12 +31,12 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info
- make || return 1
+ make
}
package() {
cd "$builddir"
- make DESTDIR="$pkgdir" install || return 1
+ make DESTDIR="$pkgdir" install
# remove the 2 lines below (and this) if there is no init.d script
# install -m755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
@@ -47,7 +47,7 @@ check() {
# uncomment the 2 lines below if there is a testsuite. we assume the testsuite
# is run using "make check", which is the default for autotools-based build systems.
# cd "$builddir"
- # make check || return 1
+ # make check
}
md5sums="" #generate with 'abuild checksum'