aboutsummaryrefslogtreecommitdiffstats
path: root/main/twm/APKBUILD
blob: e9fe524041183fadecef645e9af11b46580b1a1f (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
# Contributor: ScrumpyJack <scrumpyjack@st.ilet.to>
# Maintainer:
pkgname=twm
pkgver=1.0.10
pkgrel=0
pkgdesc="Tom's or Tab Window Manager for the X Window System"
url="http://www.x.org"
arch="all"
license="MIT"
options="!check"  # No test suite.
depends=""
depends_dev=""
makedepends="$depends_dev bison util-macros libxext-dev libx11-dev libxt-dev
	libice-dev libxmu-dev"
install=""
subpackages="$pkgname-doc"
source="https://www.x.org/releases/individual/app/${pkgname}-${pkgver}.tar.bz2"

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

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

sha512sums="1280683fce7ebbf5670239cb1f3cee2b40612bd9850d98827e793cf8bf298bdb58e48387cab943ea6befc6f7b34da2567353c22b8eaeb8bcf1b9e303cd7e6a9e  twm-1.0.10.tar.bz2"