[arch-commits] Commit in rcs/trunk (PKGBUILD path.patch)

Gaetan Bisson bisson at archlinux.org
Mon Sep 5 07:45:54 UTC 2011


    Date: Monday, September 5, 2011 @ 03:45:54
  Author: bisson
Revision: 137008

upstream update

Modified:
  rcs/trunk/PKGBUILD
Deleted:
  rcs/trunk/path.patch

------------+
 PKGBUILD   |   28 +++++++++++-------------
 path.patch |   67 -----------------------------------------------------------
 2 files changed, 13 insertions(+), 82 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2011-09-05 06:30:50 UTC (rev 137007)
+++ PKGBUILD	2011-09-05 07:45:54 UTC (rev 137008)
@@ -3,29 +3,27 @@
 # Maintainer: Gaetan Bisson <bisson at archlinux.org>
 
 pkgname=rcs
-pkgver=5.7
-pkgrel=6
-pkgdesc='Revision Control System'
+pkgver=5.8
+pkgrel=1
+pkgdesc='Revision Control System: manages multiple revisions of files'
+url='http://www.gnu.org/software/rcs/'
+license=('GPL3')
 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')
+source=("http://ftpmirror.gnu.org/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha1sums=('6ba0c3ea2d170990214a26b323feaadb89bb4206')
 
 build() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-	patch -p1 -i ../path.patch
 	./configure --prefix=/usr
 	make
 }
 
-package() {
+check() {
 	cd "${srcdir}/${pkgname}-${pkgver}"
-	make install \
-		prefix="${pkgdir}"/usr \
-		man1dir="${pkgdir}"/usr/share/man/man1 \
-		man5dir="${pkgdir}"/usr/share/man/man5 \
+	make check
+}
 
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make prefix="${pkgdir}/usr" install
 }

Deleted: path.patch
===================================================================
--- path.patch	2011-09-05 06:30:50 UTC (rev 137007)
+++ path.patch	2011-09-05 07:45:54 UTC (rev 137008)
@@ -1,67 +0,0 @@
-diff -Naur rcs-5.7-orig/src/conf.heg rcs-5.7/src/conf.heg
---- rcs-5.7-orig/src/conf.heg	1995-06-02 11:19:00.000000000 -0700
-+++ rcs-5.7/src/conf.heg	2004-11-29 12:41:37.000000000 -0800
-@@ -210,10 +210,10 @@
- /* Do struct stat s and t describe the same file?  Answer d if unknown.  */
- #define same_file(s,t,d) ((s).st_ino==(t).st_ino && (s).st_dev==(t).st_dev)
- #define has_utimbuf 1 /* Does struct utimbuf work?  */
--#define CO "/usr/local/bin/co" /* name of 'co' program */
-+#define CO "/usr/bin/co" /* name of 'co' program */
- #define COMPAT2 0 /* Are version 2 files supported?  */
--#define DIFF "/usr/local/bin/diff" /* name of 'diff' program */
--#define DIFF3 "/usr/local/bin/diff3" /* name of 'diff3' program */
-+#define DIFF "/usr/bin/diff" /* name of 'diff' program */
-+#define DIFF3 "/usr/bin/diff3" /* name of 'diff3' program */
- #define DIFF3_BIN 1 /* Is diff3 user-visible (not the /usr/lib auxiliary)?  */
- #define DIFFFLAGS "-an" /* Make diff output suitable for RCS.  */
- #define DIFF_L 1 /* Does diff -L work?  */
-@@ -221,7 +221,7 @@
- #define DIFF_FAILURE 1 /* DIFF status if differences are found */
- #define DIFF_TROUBLE 2 /* DIFF status if trouble */
- #define ED "/bin/ed" /* name of 'ed' program (used only if !DIFF3_BIN) */
--#define MERGE "/usr/local/bin/merge" /* name of 'merge' program */
-+#define MERGE "/usr/bin/merge" /* name of 'merge' program */
- #define TMPDIR "/tmp" /* default directory for temporary files */
- #define SLASH '/' /* principal filename separator */
- #define SLASHes '/' /* `case SLASHes:' labels all filename separators */
-diff -Naur rcs-5.7-orig/src/conf.sh rcs-5.7/src/conf.sh
---- rcs-5.7-orig/src/conf.sh	1995-06-15 23:19:24.000000000 -0700
-+++ rcs-5.7/src/conf.sh	2004-11-29 12:42:28.000000000 -0800
-@@ -32,7 +32,7 @@
- # and can be inspected for clues otherwise.
- 
- # The Makefile overrides the following defaults.
--: ${RCSPREFIX=/usr/local/bin/}
-+: ${RCSPREFIX=/usr/bin/}
- : ${ALL_CFLAGS=-Dhas_conf_h}
- : ${CC=cc}
- : ${COMPAT2=0}
-@@ -42,8 +42,8 @@
- : ${DIFFFLAGS=-an}
- : ${DIFF_L=1}
- : ${DIFF_SUCCESS=0} ${DIFF_FAILURE=1} ${DIFF_TROUBLE=2}
--: ${ED=/bin/ed}
--: ${SENDMAIL='"/usr/lib/sendmail"'}
-+: ${ED=/usr/bin/ed}
-+: ${SENDMAIL='"/usr/sbin/sendmail"'}
- # : ${LDFLAGS=} ${LIBS=} tickles old shell bug
- 
- C="$CC $ALL_CFLAGS"
-@@ -73,17 +73,6 @@
- 	ech='echo -n' dots='... '
- esac
- 
--$ech >&3 "$0: testing permissions $dots"
--rm -f a.d &&
--date >a.d &&
--chmod 0 a.d &&
--{ test -w a.d || cp /dev/null a.d 2>/dev/null; } && {
--	echo >&3 "$n$0: This command should not be run with superuser permissions."
--	exit 1
--}
--echo >&3 OK
--rm -f a.d || exit
--
- $ech >&3 "$0: testing compiler for plausibility $dots"
- echo 'main() { return 0; }' >a.c
- rm -f a.exe a.out || exit




More information about the arch-commits mailing list