2008-06-08 11:50:01 -07:00
|
|
|
# Maintainer: Joe User <joe.user@example.com>
|
2007-11-07 16:58:04 -08:00
|
|
|
|
|
|
|
pkgname=patch
|
|
|
|
pkgver=2.5.4
|
2007-07-06 08:30:53 -07:00
|
|
|
pkgrel=3
|
2007-11-07 16:58:04 -08:00
|
|
|
pkgdesc="A utility to apply patch files to original sources"
|
2009-07-09 07:31:20 -07:00
|
|
|
arch=('i686' 'x86_64')
|
2007-11-07 16:58:04 -08:00
|
|
|
url="http://www.gnu.org/software/patch/patch.html"
|
2007-07-06 08:30:53 -07:00
|
|
|
license=('GPL')
|
2007-11-07 16:58:04 -08:00
|
|
|
groups=('base-devel')
|
|
|
|
depends=('glibc' 'ed')
|
|
|
|
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
|
|
|
|
md5sums=('ee5ae84d115f051d87fcaaef3b4ae782')
|
2007-07-06 08:30:53 -07:00
|
|
|
|
|
|
|
build() {
|
2011-05-01 17:38:29 -07:00
|
|
|
cd "$srcdir"/$pkgname-$pkgver
|
2007-11-07 16:58:04 -08:00
|
|
|
./configure --prefix=/usr
|
2010-09-14 17:49:19 -07:00
|
|
|
make
|
2011-05-01 17:38:29 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$srcdir"/$pkgname-$pkgver
|
|
|
|
make prefix="$pkgdir"/usr install
|
2007-07-06 08:30:53 -07:00
|
|
|
}
|