summaryrefslogtreecommitdiff
path: root/extra/rcs/PKGBUILD
blob: b034c7cda516379726aa82c0a1285a9af24d08bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 127635 2011-06-17 10:04:08Z bisson $
# Contributor: dorphell <dorphell@archlinux.org>
# Maintainer: Gaetan Bisson <bisson@archlinux.org>

pkgname=rcs
pkgver=5.7
pkgrel=6
pkgdesc='Revision Control System'
arch=('i686' 'x86_64')
url="http://www.cs.purdue.edu/homes/trinkle/RCS/"
license=('GPL')
source=("http://www.cs.purdue.edu/homes/trinkle/RCS/rcs-${pkgver}.tar.Z" \
        'path.patch')
sha1sums=('976774bda26a7743b8375797f92fbd18e51ac7a2'
          '0f0be997e5d018e0d638b5f16430423ccb3774be')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	patch -p1 -i ../path.patch
	./configure --prefix=/usr
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make install \
		prefix="${pkgdir}"/usr \
		man1dir="${pkgdir}"/usr/share/man/man1 \
		man5dir="${pkgdir}"/usr/share/man/man5 \

}