aboutsummaryrefslogtreecommitdiffstats
path: root/main/herbstluftwm/APKBUILD
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-05-29 15:01:01 +0300
committerFrancesco Colista <fcolista@alpinelinux.org>2019-05-29 21:09:22 +0000
commit6f59a747a0f3d0144339d1512a8c5c0b21617a7d (patch)
tree2544046e6bdc295ea5714a8f4b08cb717527f910 /main/herbstluftwm/APKBUILD
parent900d1480345b77be381a2b1ddfc9080515f002af (diff)
downloadaports-6f59a747a0f3d0144339d1512a8c5c0b21617a7d.tar.bz2
aports-6f59a747a0f3d0144339d1512a8c5c0b21617a7d.tar.xz
main/herbstluftwm: modernize
Diffstat (limited to 'main/herbstluftwm/APKBUILD')
-rw-r--r--main/herbstluftwm/APKBUILD22
1 files changed, 4 insertions, 18 deletions
diff --git a/main/herbstluftwm/APKBUILD b/main/herbstluftwm/APKBUILD
index e299b0659d..d706e6768b 100644
--- a/main/herbstluftwm/APKBUILD
+++ b/main/herbstluftwm/APKBUILD
@@ -7,29 +7,19 @@ pkgdesc="Manual tiling window manager"
url="https://herbstluftwm.org"
arch="all"
license="BSD-2-Clause"
-depends=""
-depends_dev=""
makedepends="glib-dev libx11-dev libxinerama-dev"
-options=""
-install=""
-subpackages="
- $pkgname-doc
+subpackages="$pkgname-doc
$pkgname-bash-completion:bashcomp:noarch
$pkgname-fish-completion:fishcomp:noarch
$pkgname-zsh-completion:zshcomp:noarch
"
-source="https://herbstluftwm.org/tarballs/$pkgname-$pkgver.tar.gz
- no-colors.patch
- "
-builddir="$srcdir"/$pkgname-$pkgver
+source="https://herbstluftwm.org/tarballs/$pkgname-$pkgver.tar.gz"
build() {
- cd "$builddir"
- make PREFIX=/usr DESTDIR="$pkgdir"
+ make COLOR=0 PREFIX=/usr DESTDIR="$pkgdir"
}
package() {
- cd "$builddir"
make PREFIX=/usr DESTDIR="$pkgdir" \
ZSHCOMPLETIONDIR=/usr/share/zsh/site-functions \
BASHCOMPLETIONDIR=/usr/share/bash-completion/completions \
@@ -42,7 +32,6 @@ package() {
bashcomp() {
pkgdesc="Bash completion for $pkgname"
- depends=""
install_if="$pkgname=$pkgver-r$pkgrel bash-completion"
install -dm755 "$subpkgdir"/usr/share
@@ -51,7 +40,6 @@ bashcomp() {
fishcomp() {
pkgdesc="Fish completion for $pkgname"
- depends=""
install_if="$pkgname=$pkgver-r$pkgrel fish"
mkdir -p "$subpkgdir"/usr/share/fish/completions/
@@ -61,12 +49,10 @@ fishcomp() {
zshcomp() {
pkgdesc="Zsh completion for $pkgname"
- depends=""
install_if="$pkgname=$pkgver-r$pkgrel zsh"
install -dm755 "$subpkgdir"/usr/share
mv "$pkgdir"/usr/share/zsh "$subpkgdir"/usr/share
}
-sha512sums="1eb25c6e64bc046fca4b93cb9158515dba793bb14676229cc9c9194660eeccfc0c907ddcc4b15581b9ffb8b7f261ad3e2c8efe60a5d11eeb836208dd289dc199 herbstluftwm-0.7.1.tar.gz
-4b625af6d9f2efa471094226af1ecaa8fff51f9c07cd2057157a8837397d92514a4d167de9a24e302cdd929deef2d62ad5d22f6f823822ab132c6fce052fd64c no-colors.patch"
+sha512sums="1eb25c6e64bc046fca4b93cb9158515dba793bb14676229cc9c9194660eeccfc0c907ddcc4b15581b9ffb8b7f261ad3e2c8efe60a5d11eeb836208dd289dc199 herbstluftwm-0.7.1.tar.gz"