summaryrefslogtreecommitdiff
path: root/extra/rcs/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-18 23:03:19 +0000
committerroot <root@rshg047.dnsready.net>2011-06-18 23:03:19 +0000
commitc80552b41838a5668458ebb1eb9b0f44ea6fe879 (patch)
treed8404bc10128ad69e29c762d116434876e5885a7 /extra/rcs/PKGBUILD
parente96f6ac6e912185a495a99af2b0d51b73bd1d044 (diff)
Sat Jun 18 23:03:19 UTC 2011
Diffstat (limited to 'extra/rcs/PKGBUILD')
-rw-r--r--extra/rcs/PKGBUILD37
1 files changed, 23 insertions, 14 deletions
diff --git a/extra/rcs/PKGBUILD b/extra/rcs/PKGBUILD
index a9edf2fe8..b034c7cda 100644
--- a/extra/rcs/PKGBUILD
+++ b/extra/rcs/PKGBUILD
@@ -1,22 +1,31 @@
-# $Id: PKGBUILD 78028 2010-04-19 08:23:42Z dgriffiths $
-# Maintainer: dorphell <dorphell@archlinux.org>
+# $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=5
-pkgdesc="Revision Control System"
+pkgrel=6
+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')
+source=("http://www.cs.purdue.edu/homes/trinkle/RCS/rcs-${pkgver}.tar.Z" \
+ 'path.patch')
+sha1sums=('976774bda26a7743b8375797f92fbd18e51ac7a2'
+ '0f0be997e5d018e0d638b5f16430423ccb3774be')
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
+ 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 \
+
}