diff options
author | root <root@rshg054.dnsready.net> | 2012-09-15 00:03:54 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-09-15 00:03:54 +0000 |
commit | 58bcf29e17b49063f0be13069151b9890cb5c6a6 (patch) | |
tree | 93ffa4e6d734fbe0d0f4f47e2451a2bce48ab761 /testing/patch/PKGBUILD | |
parent | c7e751e3633b2e10c0ffcc68e4ce676f725f0843 (diff) |
Sat Sep 15 00:03:54 UTC 2012
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 +} |