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
|
2013-05-28 07:39:56 -04:00
|
|
|
pkgver=2.7.1
|
|
|
|
pkgrel=1
|
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')
|
2013-03-13 22:18:59 -04:00
|
|
|
url="https://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')
|
2013-05-28 07:39:56 -04:00
|
|
|
depends=('glibc')
|
|
|
|
makedepends=('ed')
|
|
|
|
optdepends=('ed: for "patch -e" functionality')
|
|
|
|
source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz"{,.sig})
|
|
|
|
md5sums=('e9ae5393426d3ad783a300a338c09b72'
|
|
|
|
'SKIP')
|
2007-07-06 11:30:53 -04:00
|
|
|
|
|
|
|
build() {
|
2013-05-28 07:39:56 -04:00
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
2011-05-01 20:38:29 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2013-05-28 07:39:56 -04:00
|
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
make DESTDIR="$pkgdir/" install
|
2007-07-06 11:30:53 -04:00
|
|
|
}
|