summaryrefslogtreecommitdiff
path: root/main/jwm/APKBUILD
blob: c7c6252ceb98cfbb0f97ef8fc539e59afceadc41 (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: Valery Kartel <valery.kartel@gmail.com>
# Contributor: Jeff Pohlmeyer <yetanothergeek@gmail.com>
# Maintainer: Jeff Pohlmeyer <yetanothergeek@gmail.com>
pkgname=jwm
pkgver=2.3.7
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 $pkgname-lang"
source="http://joewing.net/projects/$pkgname/releases/$pkgname-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver

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

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

sha512sums="dab0241518e52aa2e3e1ef3f67b6965ceb683bdb0224de7d3a653d76440606d70e86e35047eda40ea53a80aa227408be77739ad7c53d51f53026e3d113ab7efc  jwm-2.3.7.tar.xz"