blob: b7cc5b3dcac317230e95ab5bb5b84ca7516f3ade (
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
|
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=redo
pkgver=0.41
pkgrel=2
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"
source="https://github.com/apenwarr/redo/archive/redo-${pkgver}.tar.gz
skip-when-tty-missing.patch"
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
bc622d6a4b2c270f4f7791bb545d9f0a34a3c993f4a03dd901c4419c4f82ffeb43d210972f29abada14ba9eae812040c2c5a76ffdcfc744bb01fd5c32fa0ca89 skip-when-tty-missing.patch"
|