summaryrefslogtreecommitdiff
path: root/user/twm/APKBUILD
blob: bb2f4b3da7c12cad3bab5233c323c97f62bb55a6 (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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=twm
pkgver=1.0.12
pkgrel=0
pkgdesc="Tom's/Tab Window Manager for the X Window System"
url="https://www.X.Org"
arch="all"
options="!check"  # No test suite.
license="MIT AND X11"
depends=""
makedepends="bison util-macros libxext-dev libx11-dev libxt-dev
	libice-dev libxmu-dev libxrandr-dev"
subpackages="$pkgname-doc"
source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--datarootdir=/usr/share
	make
}

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

sha512sums="f3d68df7e06516f6b74f19181efcfd9db2479c8ea0c72c3a6ed0dc1b222405b40d81a2dea17b662955e0c1783e87d0d3eb067c3b6e7c6eed8c0d38d03d362260  twm-1.0.12.tar.xz"