summaryrefslogtreecommitdiffstats
path: root/main/cowdancer/APKBUILD
blob: 4fc870c101915c3b66f0d6a52e8c7b859ea82898 (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
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=cowdancer
pkgver=0.71
pkgrel=0
pkgdesc="userland copy-on-write filesystem"
url="http://www.netfort.gr.jp/~dancer/software/cowdancer.html"
arch="all"
license="GPL"
depends=
depends_dev=
makedepends="bash $depends_dev"
install=""
subpackages="$pkgname-doc"
source="http://ftp.de.debian.org/debian/pool/main/c/cowdancer/cowdancer_${pkgver}.tar.gz
	cowdancer-disable-cowbuilder.patch
	cowdancer-no-vsym.patch"

_builddir="${srcdir}/${pkgname}-${pkgver}"
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="7d4b6f7704dc10f1f28e215c18570715  cowdancer_0.71.tar.gz
6b59f89cc093670950a3bc00df19d10f  cowdancer-disable-cowbuilder.patch
da87422b0350bcba5bd79cae8b4da596  cowdancer-no-vsym.patch"