PKGBUILDs/core/patch/PKGBUILD

24 lines
704 B
Bash
Raw Normal View History

2009-09-26 14:35:50 +00:00
# Maintainer: Alexander Foremny <alexanderforemny@gmail.com>
2009-09-26 17:10:12 +00:00
# Modified by OpenPogo
2009-09-26 14:35:50 +00:00
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')
2009-09-26 17:10:12 +00:00
depends=()
2009-09-26 14:35:50 +00:00
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}"
2009-09-26 17:10:12 +00:00
./configure --prefix=/opt --mandir=/opt/share/man
2009-09-26 14:35:50 +00:00
make || return 1
2009-09-26 17:10:12 +00:00
make prefix=${pkgdir}/opt mandir=${pkgdir}/opt/share/man install || return 1
2009-09-26 14:35:50 +00:00
}