aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/evilwm/APKBUILD
blob: c5d0a2c6a57d964dea733611c33761e9a8fbc107 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=evilwm
pkgver=1.1.0
_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="5f14cc3019320860c85bb07c60a76bd7  evilwm-1.1.0.tar.gz"
sha256sums="cdc763c875b64ee3734f3cb764249e91ec659f550177ec1bb564304260ef0c75  evilwm-1.1.0.tar.gz"
sha512sums="e0df42422431698623cc41ccec7b626cc59f7ef4c17a90169e6410e374cc602de12fc075d42e7ed5699b2ca363c22a9e5361117a8748aceca9c66175fde46d25  evilwm-1.1.0.tar.gz"