blob: a9755c7301f6cdbb8535ebc346cd6b92a5be88e7 (
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
49
50
|
# Contributor: Joseph Benden <joe@benden.us>
# Maintainer: Joseph Benden <joe@benden.us>
pkgname=stgit
pkgver=0.19
pkgrel=0
pkgdesc="Manage a stack of patches using GIT as a backend"
arch="noarch"
url="http://www.procode.org/stgit/"
license="GPL-2.0-or-later"
options="!check" # unit-tests fail due to iconv usage
depends="git python3"
makedepends="asciidoc xmlto perl"
subpackages="$pkgname-doc"
source="${pkgname}-${pkgver}.tar.gz::https://github.com/ctmarinas/stgit/archive/v${pkgver}.tar.gz"
prepare() {
default_prepare
# this will be a noop, as we are working with a tarball,
# but throws git errors --> just get rid of it
echo "version=\"${pkgver}\"" > stgit/builtin_version.py
}
check() {
make \
PYTHON=python3 \
prefix=/usr \
mandir=/usr/share/man/ \
test
}
build() {
make \
PYTHON=python3 \
prefix=/usr \
mandir=/usr/share/man/ \
all doc
}
package() {
make \
DESTDIR="$pkgdir" \
PYTHON=python3 \
prefix=/usr \
mandir=/usr/share/man/ \
install install-doc
}
sha512sums="6b4f184b91614961d759e8abd505856d74354e7d269d013a448e6795ecb35054277c319ee97f1df9bee3ed4861b70090133ed4f156c96908c2182ed4652304ba stgit-0.19.tar.gz"
|