mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-02 14:32:14 +01:00
http://www.procode.org/stgit/ Manage a stack of patches using GIT as a backend Signed-off-by: Joseph Benden <joe@benden.us>
51 lines
1.1 KiB
Plaintext
51 lines
1.1 KiB
Plaintext
# 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"
|