mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-04 08:12:06 +01:00
44 lines
1.1 KiB
Plaintext
44 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.2
|
|
pkgrel=3
|
|
pkgdesc="A collection of programs for manipulating patch files"
|
|
options="!check" # 6 tests fail
|
|
url="http://cyberelk.net/tim/patchutils/"
|
|
arch="all"
|
|
license="GPL-2.0-or-later"
|
|
depends="perl"
|
|
makedepends="xmlto"
|
|
checkdepends="diffutils"
|
|
subpackages="$pkgname-doc"
|
|
source="http://cyberelk.net/tim/data/patchutils/stable/patchutils-$pkgver.tar.xz
|
|
getopt-gcc15.patch
|
|
"
|
|
|
|
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="
|
|
20970d52fd43c09dc7799297b9a9eb6f60ba29ecc750d49381a2dc52273dfe484a47696cddd541f623394fa3486734cf337297cbeab6b1b244511c7740f46897 patchutils-0.4.2.tar.xz
|
|
cd3a87f38fbb8307029618617670ff9f94dd4cfb9a0274fea14c985141bc389bbd8f9f3f4c8e44ce02a57803376b99ddb5d3d0fc506213d4cd20387bb237f1f8 getopt-gcc15.patch
|
|
"
|