summaryrefslogtreecommitdiff
path: root/extra/rcs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/rcs/PKGBUILD')
-rw-r--r--extra/rcs/PKGBUILD39
1 files changed, 24 insertions, 15 deletions
diff --git a/extra/rcs/PKGBUILD b/extra/rcs/PKGBUILD
index 314abdba5..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"
-arch=('i686' 'x86_64' 'mips64el')
+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 \
+
}