aboutsummaryrefslogtreecommitdiffstats
path: root/testing/alttab/APKBUILD
blob: fd8f9408cc41e0c20a58f0faa0432c9428843019 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Contributor: Alexander Kulak <sa-dev@rainbow.by>
# Maintainer: Alexander Kulak <sa-dev@rainbow.by>
pkgname=alttab
pkgver=1.5.0
pkgrel=0
pkgdesc="X11 window switcher designed for minimalistic window managers"
url="https://github.com/sagb/alttab"
options="!check"
arch="all"
license="GPL-3.0-or-later"
makedepends="libx11-dev libxft-dev fts-dev libxrender-dev libxrandr-dev
	libpng-dev uthash-dev libxpm-dev"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/sagb/alttab/archive/v$pkgver.tar.gz
	"

prepare() {
	default_prepare
	./bootstrap.sh
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var && \
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="4113ef7f72a667dce4c4315f47a6588750288127d223e54868627a1233e520e2e44808a08204685f069ad6ec3048cacd840b575a81503e3cfacbbddf6796765f  alttab-1.5.0.tar.gz"