aboutsummaryrefslogtreecommitdiffstats
path: root/main/herbstluftwm/APKBUILD
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-09-09 15:38:10 +0300
committerSören Tempel <soeren+git@soeren-tempel.net>2018-09-11 13:52:52 +0200
commite0ab0b4297f22d2e6794fa4a77f7c915612f91ee (patch)
treee78836c494090697b3422187112c06356c460067 /main/herbstluftwm/APKBUILD
parent247a80d296102e33f3df1d1695118a5053bdfdc1 (diff)
downloadaports-e0ab0b4297f22d2e6794fa4a77f7c915612f91ee.tar.bz2
aports-e0ab0b4297f22d2e6794fa4a77f7c915612f91ee.tar.xz
main/herbstluftwm: modernize and take maintainership
Diffstat (limited to 'main/herbstluftwm/APKBUILD')
-rw-r--r--main/herbstluftwm/APKBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/main/herbstluftwm/APKBUILD b/main/herbstluftwm/APKBUILD
index ee13a2b7cd..c87e3efecd 100644
--- a/main/herbstluftwm/APKBUILD
+++ b/main/herbstluftwm/APKBUILD
@@ -1,5 +1,5 @@
# Contributor: Łukasz Jendrysik
-# Maintainer:
+# Maintainer: prspkt <prspkt@protonmail.com>
pkgname=herbstluftwm
pkgver=0.7.1
pkgrel=0
@@ -20,24 +20,23 @@ subpackages="
source="https://herbstluftwm.org/tarballs/$pkgname-$pkgver.tar.gz
no-colors.patch
"
+builddir="$srcdir"/$pkgname-$pkgver
-_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$_builddir"
+ cd "$builddir"
make PREFIX=/usr DESTDIR="$pkgdir"
}
package() {
- make -C "$_builddir" \
- PREFIX=/usr \
- DESTDIR="$pkgdir" \
+ cd "$builddir"
+ make PREFIX=/usr DESTDIR="$pkgdir" \
ZSHCOMPLETIONDIR=/usr/share/zsh/site-functions \
BASHCOMPLETIONDIR=/usr/share/bash-completion/completions \
- install || return 1
+ install
mkdir -p "$pkgdir"/usr/share/licenses
mv "$pkgdir"/usr/share/doc/$pkgname/LICENSE \
- "$pkgdir"/usr/share/licenses/ || return 1
+ "$pkgdir"/usr/share/licenses/
}
bashcomp() {
@@ -45,7 +44,7 @@ bashcomp() {
depends=""
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
- install -dm755 "$subpkgdir"/usr/share || return 1
+ install -dm755 "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/bash-completion "$subpkgdir"/usr/share
}
@@ -54,7 +53,7 @@ zshcomp() {
depends=""
install_if="$pkgname=$pkgver-r$pkgrel zsh"
- install -dm755 "$subpkgdir"/usr/share || return 1
+ install -dm755 "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/zsh "$subpkgdir"/usr/share
}