aboutsummaryrefslogtreecommitdiffstats
path: root/testing/redo/APKBUILD
blob: 4eac67e78b1990ee9809f55cf6f179de66f6a2ca (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: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=redo
pkgver=0.41
pkgrel=1
pkgdesc="Smaller, easier, more powerful, and more reliable than make"
url="https://redo.readthedocs.io/en/latest/"
arch="noarch"
license="Apache-2.0"
depends="python2"
makedepends="python2 perl"
subpackages="$pkgname-doc"
options="!check" # FIXME fails
source="https://github.com/apenwarr/redo/archive/redo-${pkgver}.tar.gz"
builddir="$srcdir/redo-redo-${pkgver}"

build() {
	cd "$builddir"

        ./do build
}

check() {
	cd "$builddir"
        ./do test

        # Some files / directories are created as read-only for testing
        # purposes. Make them writable again to make sure we can remove them
        # again.
        chmod -R +w .
}

package() {
	cd "$builddir"

        DESTDIR="$pkgdir" PREFIX="/usr" ./do install
}

sha512sums="94e4414a2f8120e5d4a949461734ed69dc2f39edfb7929d2efff83041ac0b941e037359ccfafcb4eff760608274e32c579df56d58fdb67b13b8a26eb1945b0d0  redo-0.41.tar.gz"