summaryrefslogtreecommitdiff
path: root/extra/rcs/PKGBUILD
blob: a9edf2fe85cd4034726cb6b9275e92589d22b228 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: PKGBUILD 78028 2010-04-19 08:23:42Z dgriffiths $
# Maintainer: dorphell <dorphell@archlinux.org>
pkgname=rcs
pkgver=5.7
pkgrel=5
pkgdesc="Revision Control System"
arch=('i686' 'x86_64')
url="http://www.cs.purdue.edu/homes/trinkle/RCS/"
license=('GPL')
depends=('glibc')
source=(http://www.cs.purdue.edu/homes/trinkle/RCS/rcs-${pkgver}.tar.Z \
        rcs-5.7.patch)
md5sums=('423282f0edb353296d9f3498ab683abf' '7ae4b7cb79259ccdf5eee0ab94fe2a2a')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  patch -Np1 -i ../rcs-5.7.patch || return 1
  ./configure --prefix=/usr || return 1
  make || return 1
  make prefix=${pkgdir}/usr man1dir=${pkgdir}/usr/share/man/man1 \
    man5dir=${pkgdir}/usr/share/man/man5 install || return 1
}