blob: a3413ee8965e8feb7f5b003cd9d7ec3a6642b389 (
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
|
# Contributor: Kevin Daudt <kdaudt@alpinelinux.org>
# Maintainer: Kevin Daudt <kdaudt@alpinelinux.org>
pkgname=apenwarr-redo
pkgver=0.42a
pkgrel=0
pkgdesc="Smaller, easier, more powerful, and more reliable than make"
url="https://redo.readthedocs.io/en/latest/"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="perl"
checkdepends="cpio"
subpackages="$pkgname-doc"
source="https://github.com/apenwarr/redo/archive/redo-$pkgver.tar.gz
fix-env-python.patch
"
provides="redo"
provider_priority=50
builddir="$srcdir/redo-redo-$pkgver"
build() {
./do build
}
check() {
# Causes issues with the test suite
unset CC CPPFLAGS CFLAGS CXX CXXFLAGS LDFLAGS
./do test
}
package() {
DESTDIR="$pkgdir" PREFIX="/usr" ./do install
}
cleanup_srcdir() {
# Test suite changes some files to read-only, resulting in errors on
# cleanup.
[ -e "$srcdir" ] && chmod -R a+w "$srcdir"
default_cleanup_srcdir
}
sha512sums="8473bd8168c8e70b59a573560f8f725c8538061ee15eabeb63e467a363fa6869aa8088e8ce324726da4e2f7115e2ddf72cbb657703e9090f4f93c05f42bb67cb redo-0.42a.tar.gz
8b01a70e0812bf6c90c8447d110eac91639c35e3e3c20a083d4ed68fe0b3a3524081ad94fa1fd504525b7ebf5ef1fd5aff9fe3b933fe9f0aa2a404426ed96471 fix-env-python.patch"
|