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