2025-09-27 05:47:50 +00:00

42 lines
1.1 KiB
Plaintext

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Celeste <cielesti@protonmail.com>
maintainer="Celeste <cielesti@protonmail.com>"
pkgname=patchutils
pkgver=0.4.4
pkgrel=0
pkgdesc="Programs for manipulating patch files"
options="!check" # 6 tests fail
url="https://cyberelk.net/tim/software/patchutils/"
arch="all"
license="GPL-2.0-or-later"
depends="perl"
makedepends="xmlto"
checkdepends="diffutils"
subpackages="$pkgname-bash-completion $pkgname-doc"
#source="https://cyberelk.net/tim/data/patchutils/stable/patchutils-$pkgver.tar.xz"
source="https://github.com/twaugh/patchutils/releases/download/$pkgver/patchutils-$pkgver.tar.xz"
build() {
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var
make
}
check() {
make check
}
package() {
make DESTDIR="$pkgdir" install
}
sha512sums="
26f3ee959d7f8d7d5718ecf361436709559c62d6235114faac9a84442e9df4fb271f85eea5d96dae3969e96d88fdd9c1a9b5246696ef548fad71a8f29a026a84 patchutils-0.4.4.tar.xz
"