aboutsummaryrefslogtreecommitdiffstats
path: root/main/jwm/APKBUILD
blob: 3daeebac912db1910d5557a7d6292f104bfa95d6 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Contributor: Jeff Pohlmeyer <yetanothergeek@gmail.com>
# Maintainer: Jeff Pohlmeyer <yetanothergeek@gmail.com>

pkgname=jwm
pkgver=2.3.2
pkgrel=0
pkgdesc="A lightweight window manager for the X11 Window System"
url="http://joewing.net/programs/jwm/"
arch="all"
license="GPL2"
depends=
depends_dev=""
makedepends="libx11-dev libxext-dev libxft-dev libxmu-dev libxinerama-dev
            libxpm-dev libxrender-dev libjpeg-turbo-dev libpng-dev
            librsvg-dev"
install=
subpackages="$pkgname-doc"
source="http://joewing.net/projects/jwm/releases/jwm-$pkgver.tar.xz"


_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	update_config_sub || return 1
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--enable-confirm \
		--enable-icons \
		--enable-png \
		--enable-jpeg \
		--enable-xpm \
		--enable-xft \
		--enable-xrender \
		--enable-shape \
		--enable-xmu \
		--enable-xinerama \
		--disable-fribidi \
		--disable-debug \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make \
		BINDIR="$pkgdir/usr/bin" \
		MANDIR="$pkgdir/usr/share/man" \
		SYSCONF="$pkgdir/etc" install || return 1
}

md5sums="96bb523ea289f041146efa65b88481c4  jwm-2.3.2.tar.xz"
sha256sums="92a3e66ceb847aac9fa09a24b16c93194f6c52e398f5a88f228b4986ea972c53  jwm-2.3.2.tar.xz"
sha512sums="34b9d482815e8b269203e1f5bf02d3e13f3186153755c9e74094e4a8af376f35b8bef4553056e83c20ba0c532e6d2606633d71272e186fe45dfed9e4ea836a27  jwm-2.3.2.tar.xz"