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> # Core Packages for Chakra, part of chakra-project.org
# Contributor: judd <jvinet@zeroflux.org> #
# maintainer: abveritas@chakra-project.org
pkgname=patch pkgname=patch
pkgver=2.6.1 pkgver=2.7.1
pkgrel=2 pkgrel=1
pkgdesc="A utility to apply patch files to original sources" 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" url="http://www.gnu.org/software/patch/patch.html"
license=('GPL') license=('GPL')
groups=('base-devel') groups=('base-devel')
depends=('glibc') depends=('glibc')
optdepends=('ed: Interpret the patch as an ed script; for patch -e functionality(deprecated)') optdepends=('ed: Interpret the patch as an ed script')
source=(ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz) source=("ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.xz")
md5sums=('d758eb96d3f75047efc004a720d33daf') md5sums=('e9ae5393426d3ad783a300a338c09b72')
build() { build() {
cd ${srcdir}/${pkgname}-${pkgver} cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --mandir=/usr/share/man ./configure --prefix=/usr
make || return 1 make
make prefix=${pkgdir}/usr mandir=${pkgdir}/usr/share/man install || return 1 }
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: abveritas@chakra-project.org
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=patchutils pkgname=patchutils
pkgver=0.3.2 pkgver=0.3.2
pkgrel=2 pkgrel=3
pkgdesc="A small collection of programs that operate on patch files" pkgdesc="A small collection of programs that operate on patch files"
license=('GPL') license=('GPL')
url="http://cyberelk.net/tim/patchutils/" url="http://cyberelk.net/tim/patchutils/"
depends=('perl') depends=('perl')
arch=('i686' 'x86_64') arch=('x86_64')
source=(http://cyberelk.net/tim/data/patchutils/stable/$pkgname-$pkgver.tar.bz2) source=("http://cyberelk.net/tim/data/patchutils/stable/$pkgname-$pkgver.tar.bz2"{,.sig})
md5sums=('74607b4a28c9009c6aeeed0e91098917') md5sums=('74607b4a28c9009c6aeeed0e91098917'
'3d6427d32ffd6642af4b740c55b9e736')
build() { build() {
cd $srcdir/$pkgname-$pkgver cd $srcdir/$pkgname-$pkgver