summaryrefslogtreecommitdiff
path: root/testing/windowmaker/APKBUILD
blob: 541fe4a0ba3c0f009921feb922f7d56e0f70faa3 (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
37
# Contributor: Emily Ingalls <emily@ingalls.rocks>
# Maintainer: Emily Ingalls <emily@ingalls.rocks>
pkgname=windowmaker
pkgver=0.95.8
pkgrel=0
pkgdesc="Window manager for X emulating the NeXTSTEP user interface"
url="http://www.windowmaker.org"
arch="all"
license="GPL-2.0"
depends=""
depends_dev="libx11-dev libxmu-dev libxft-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://windowmaker.org/pub/source/release/WindowMaker-$pkgver.tar.gz"

builddir="$srcdir"/WindowMaker-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--disable-static \
		--enable-modelock \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
	rmdir "$pkgdir"/usr/share/locale/
}

sha512sums="6ab16ed4304aba20f0f3a4083adf63a47fa674ade7bc39aaa8aa6466c7842e3f10ab73af96e2afce0842b11c57a35eb69f43183a4044d8cd95d4e2a4d2c079a2  WindowMaker-0.95.8.tar.gz"