mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-12-31 14:22:14 +01:00
29 lines
604 B
Plaintext
29 lines
604 B
Plaintext
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
|
|
pkgname=patch
|
|
pkgver=2.6.1
|
|
pkgrel=3
|
|
pkgdesc="Utility to apply diffs to files"
|
|
url="http://www.gnu.org/software/patch/patch.html"
|
|
arch="all"
|
|
license='GPL'
|
|
depends=
|
|
source="ftp://ftp.gnu.org/gnu/patch/patch-2.6.tar.bz2"
|
|
subpackages="$pkgname-doc"
|
|
install=
|
|
|
|
_builddir="$srcdir"/$pkgname-2.6
|
|
|
|
build() {
|
|
cd "$_builddir"
|
|
./configure --prefix=/usr \
|
|
--mandir=/usr/share/man
|
|
make || return 1
|
|
}
|
|
|
|
package() {
|
|
cd "$_builddir"
|
|
make prefix="$pkgdir"/usr mandir="$pkgdir"/usr/share/man install
|
|
}
|
|
|
|
md5sums="5729b1430ba6c2216e0f3eb18f213c81 patch-2.6.tar.bz2"
|