updating patch, rebuilding old patchutils package

This commit is contained in:
abveritas 2012-12-05 01:33:21 +00:00
parent 76c7dc9a02
commit 3edeedd74a
2 changed files with 29 additions and 19 deletions

View File

@ -1,23 +1,33 @@
# $Id: PKGBUILD 62841 2010-01-13 01:57:24Z allan $
# Maintainer: Allan McRae <allan@archlinux.org>
# Contributor: judd <jvinet@zeroflux.org>
#
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer: abveritas@chakra-project.org
pkgname=patch
pkgver=2.6.1
pkgrel=2
pkgver=2.7.1
pkgrel=1
pkgdesc="A utility to apply patch files to original sources"
arch=('i686' 'x86_64')
arch=('x86_64')
url="http://www.gnu.org/software/patch/patch.html"
license=('GPL')
groups=('base-devel')
depends=('glibc')
optdepends=('ed: Interpret the patch as an ed script; for patch -e functionality(deprecated)')
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('d758eb96d3f75047efc004a720d33daf')
optdepends=('ed: Interpret the patch as an ed script')
source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz")
md5sums=('e9ae5393426d3ad783a300a338c09b72')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install || return 1
./configure --prefix=/usr
make
}
check() {
cd ${srcdir}/${pkgname}-${pkgver}
make check
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
make DESTDIR=$pkgdir install
}

View File

@ -1,19 +1,19 @@
#
# Chakra Packages for Chakra, part of chakra-project.org
# Core Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# maintainer: abveritas@chakra-project.org
pkgname=patchutils
pkgver=0.3.2
pkgrel=2
pkgrel=3
pkgdesc="A small collection of programs that operate on patch files"
license=('GPL')
url="http://cyberelk.net/tim/patchutils/"
depends=('perl')
arch=('i686' 'x86_64')
source=(http://cyberelk.net/tim/data/patchutils/stable/$pkgname-$pkgver.tar.bz2)
md5sums=('74607b4a28c9009c6aeeed0e91098917')
arch=('x86_64')
source=("http://cyberelk.net/tim/data/patchutils/stable/$pkgname-$pkgver.tar.bz2"{,.sig})
md5sums=('74607b4a28c9009c6aeeed0e91098917'
'3d6427d32ffd6642af4b740c55b9e736')
build() {
cd $srcdir/$pkgname-$pkgver