summaryrefslogtreecommitdiffstats
path: root/main/cowdancer/APKBUILD
blob: 50fda67072392225da2001363db41247bb859cf3 (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
43
44
45
46
47
48
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=cowdancer
pkgver=0.73
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="3e978d6f7caf403ed832eda64e10fb46  cowdancer_0.73.tar.gz
fa105c361854e09d230ef58a8a6bf728  cowdancer-disable-cowbuilder.patch
da87422b0350bcba5bd79cae8b4da596  cowdancer-no-vsym.patch"
sha256sums="59fde4bd0347258e797f06b36acaf5a42816b0f5d416d85b0493eac0594f77a9  cowdancer_0.73.tar.gz
9130569a25d163c0c316696178f291702526e9b642d0ec3d00809c879e36c136  cowdancer-disable-cowbuilder.patch
c849d17e1e754c7d214a7892486e216aa2da8117e27d17757a12951843214c97  cowdancer-no-vsym.patch"
sha512sums="eafb628175c2355eb47a273b3eebc0185a415e3b0f02725286ecc0e404e642f8abd977156d46b31a4eb811cd4f197eafa2ee7c01ea2712c635fad7dae45e03d4  cowdancer_0.73.tar.gz
14c26dcbdbf157ac5d53b4a9723dbe4d722c4d113f7aeba9e940dbd07f6072d7444b7227706a76a37a302da369ecbcad5ecd207a04b9b20bd364bbc86e61061f  cowdancer-disable-cowbuilder.patch
5d512986965b457cd03ed34b6d3a03428841756f143a88eb58fdfba46c3513a7002be66ce25c253a9ffbf8414aa582f6da6bb1e0feb7dfdbc584c41eedede138  cowdancer-no-vsym.patch"