core/rcs/PKGBUILD

23 lines
734 B
Bash
Raw Normal View History

2010-05-17 15:50:50 +08:00
# $Id: PKGBUILD 78028 2010-04-19 08:23:42Z dgriffiths $
2010-03-14 23:48:48 +08:00
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=rcs
pkgver=5.7
2010-05-17 15:50:50 +08:00
pkgrel=5
2010-03-14 23:48:48 +08:00
pkgdesc="Revision Control System"
arch=('i686' 'x86_64')
url="http://www.cs.purdue.edu/homes/trinkle/RCS/"
license=('GPL')
depends=('glibc')
2010-05-17 15:50:50 +08:00
source=(http://www.cs.purdue.edu/homes/trinkle/RCS/rcs-${pkgver}.tar.Z \
2010-03-14 23:48:48 +08:00
rcs-5.7.patch)
md5sums=('423282f0edb353296d9f3498ab683abf' '7ae4b7cb79259ccdf5eee0ab94fe2a2a')
build() {
2010-05-17 15:50:50 +08:00
cd ${srcdir}/${pkgname}-${pkgver}
2010-03-14 23:48:48 +08:00
patch -Np1 -i ../rcs-5.7.patch || return 1
./configure --prefix=/usr || return 1
make || return 1
2010-05-17 15:50:50 +08:00
make prefix=${pkgdir}/usr man1dir=${pkgdir}/usr/share/man/man1 \
man5dir=${pkgdir}/usr/share/man/man5 install || return 1
2010-03-14 23:48:48 +08:00
}