summaryrefslogtreecommitdiffstats
path: root/testing/evilwm/APKBUILD
blob: b11c61d8cf5a8ca570e0a7affd4876c9d701bb4b (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=evilwm
pkgver=1.1.0_pre8
_myver="${pkgver//_/}"
pkgrel=0
pkgdesc="A minimalist window manager for the X Window System"
url="http://www.6809.org.uk/evilwm/"
arch="all"
license="custom"
depends=
depends_dev=
makedepends="libx11-dev libxext-dev libxrandr-dev"
install=""
subpackages="$pkgname-doc"
source="http://www.6809.org.uk/evilwm/evilwm-$_myver.tar.gz"

_builddir="$srcdir"/evilwm-$_myver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	make || return 1
}

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

md5sums="efb842dba48970ad58c1dad38050b26e  evilwm-1.1.0pre8.tar.gz"