aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2019-02-04 11:08:38 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2019-02-04 11:11:10 +0100
commit1369fa5e2021bd5f33ccbb8775b36b19bf0b4f26 (patch)
tree275012f569f8cd2812b4ef05a7e4b091b68c4e6a
parent86d9f37be62ceb2709c0eb5896c5432e21e28480 (diff)
downloadaports-1369fa5e2021bd5f33ccbb8775b36b19bf0b4f26.tar.gz
aports-1369fa5e2021bd5f33ccbb8775b36b19bf0b4f26.tar.bz2
aports-1369fa5e2021bd5f33ccbb8775b36b19bf0b4f26.tar.xz
main/dwm: modernize APKBUILD
-rw-r--r--main/dwm/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/dwm/APKBUILD b/main/dwm/APKBUILD
index 943face7c8..5043178eaf 100644
--- a/main/dwm/APKBUILD
+++ b/main/dwm/APKBUILD
@@ -16,22 +16,22 @@ source="https://dl.suckless.org/$pkgname/$pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$pkgname-$pkgver
prepare() {
- default_prepare || return 1
+ default_prepare
sed -i -e '/CFLAGS/{s/-Os//;s/=/+=/}' \
-e '/LDFLAGS/{s/=/+=/}' \
- "$builddir"/config.mk || return 1
+ "$builddir"/config.mk
}
build() {
make X11INC=/usr/include/X11 \
X11LIB=/usr/lib/X11 \
FREETYPEINC=/usr/include/freetype2 \
- -C "$builddir" || return 1
+ -C "$builddir"
}
package() {
make PREFIX=/usr DESTDIR="$pkgdir" \
- -C "$builddir" install || return 1
+ -C "$builddir" install
}
sha512sums="01abcab954e5b7c20d011e6fd9c28025271fea2e85610c928812f7c6a09f99d7f9e93d11ffc2d6a7aca894b3fa7e507c6c2fe5f26ff5ddcfc650a9bbaaa41e06 dwm-6.2.tar.gz"