mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
23 lines
704 B
Bash
23 lines
704 B
Bash
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
|
|
# Modified by OpenPogo
|
|
|
|
pkgname=patch
|
|
pkgver=2.5.9
|
|
pkgrel=2
|
|
pkgdesc="A utility to apply patch files to original sources"
|
|
arch=('arm')
|
|
url="http://www.gnu.org/software/patch/patch.html"
|
|
license=('GPL')
|
|
groups=('base-devel')
|
|
depends=()
|
|
optdepends=('ed: Interpret the patch as an ed script; for patch -e functionality(deprecated)')
|
|
source=(ftp://alpha.gnu.org/gnu/diffutils/$pkgname-$pkgver.tar.gz)
|
|
md5sums=('dacfb618082f8d3a2194601193cf8716')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/opt --mandir=/opt/share/man
|
|
make || return 1
|
|
make prefix=${pkgdir}/opt mandir=${pkgdir}/opt/share/man install || return 1
|
|
}
|