diff options
Diffstat (limited to 'testing/patch/PKGBUILD')
-rw-r--r-- | testing/patch/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/testing/patch/PKGBUILD b/testing/patch/PKGBUILD new file mode 100644 index 000000000..7266d17e2 --- /dev/null +++ b/testing/patch/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 166613 2012-09-13 04:53:23Z allan $ +# Maintainer: Allan McRae <allan@archlinux.org> +# Contributor: judd <jvinet@zeroflux.org> + +pkgname=patch +pkgver=2.7 +pkgrel=1 +pkgdesc="A utility to apply patch files to original sources" +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/patch/patch.html" +license=('GPL') +groups=('base-devel') +depends=('glibc') +makedepends=('ed') +optdepends=('ed: for patch -e functionality') +source=(ftp://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.xz{,.sig}) +md5sums=('d443f9d9a7d1bf1715831883917699d9' + '874fb55b72bc5c3c44794645b04e69a9') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + ./configure --prefix=/usr + make +} + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make check +} + +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=$pkgdir install +} |