summaryrefslogtreecommitdiffstats
path: root/main/cowdancer/APKBUILD
blob: 2c59a994adb34b586c5ba79d8044a088cac695b3 (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.63
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="$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="8632184e830a041e1a3319d1ed39e31d  cowdancer_0.63.tar.gz
6b59f89cc093670950a3bc00df19d10f  cowdancer-disable-cowbuilder.patch
da87422b0350bcba5bd79cae8b4da596  cowdancer-no-vsym.patch"