aboutsummaryrefslogtreecommitdiffstats
path: root/testing/alttab/APKBUILD
blob: fa854a48f0ec440e8d5428d24026aeb228b307b9 (plain)
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
# Contributor: Alexander Kulak <sa-dev@rainbow.by>
# Maintainer: Alexander Kulak <sa-dev@rainbow.by>
pkgname=alttab
pkgver=1.1.0.57
pkgrel=0
pkgdesc="X11 window switcher designed for minimalistic window managers or standalone X11 session"
url="https://github.com/sagb/alttab"
arch="all"
license="GPL3+"
depends="libx11 libxft libxrender libpng fts"
makedepends="libx11-dev libxft-dev uthash-dev libxrender-dev libpng-dev fts-dev"
install=""
subpackages="$pkgname-doc"
source="${pkgname}-${pkgver}.tar.gz::https://api.github.com/repos/sagb/alttab/tarball/0c14ea2080c5603fbebe9cbca3f198fabb30d2d9"
builddir="$srcdir/sagb-alttab-0c14ea2"
options="!check"

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

package() {
	cd "$builddir" && \
	make DESTDIR="$pkgdir" install
}

sha512sums="6dd6cc8b28eb05e5148854304e75de31e5975aff213d70d67d12fa3d935639cde6dd57a032690495f603baeea50a7fa057651b672e4d9aa7d602b4ac8f50b3c6  alttab-1.1.0.57.tar.gz"