[arch-commits] Commit in gpm/trunk (ChangeLog PKGBUILD)

Eric Bélanger eric at archlinux.org
Thu Nov 18 07:41:29 UTC 2010


    Date: Thursday, November 18, 2010 @ 02:41:28
  Author: eric
Revision: 99825

Added sh depends, Removed ChangeLog

Modified:
  gpm/trunk/PKGBUILD
Deleted:
  gpm/trunk/ChangeLog

-----------+
 ChangeLog |   43 -------------------------------------------
 PKGBUILD  |   26 ++++++++++++++------------
 2 files changed, 14 insertions(+), 55 deletions(-)

Deleted: ChangeLog
===================================================================
--- ChangeLog	2010-11-18 04:19:59 UTC (rev 99824)
+++ ChangeLog	2010-11-18 07:41:28 UTC (rev 99825)
@@ -1,43 +0,0 @@
-2010-05-30  Eric Belanger  <eric at archlinux.org>
-
-	* Added imps2 protocol to default options (close FS#19657)
-
-2009-12-05  Eric Belanger  <eric at archlinux.org>
-
-	* gpm 1.20.6-5
-	* Fixed gpm.sh such that disable-paste is only run when gpm is running
-
-2009-12-05  Eric Belanger  <eric at archlinux.org>
-
-	* gpm 1.20.6-4
-	* Added profile for extra security on multi-user-console (close	FS#17243)
-	* Removed the need of texinfo depends
-
-2009-09-20  Eric Belanger  <eric at archlinux.org>
-
-	* gpm 1.20.6-3
-	* Updated /dev/psaux to /dev/input/mice in stock config (close FS#16289)
-
-2009-09-20  Eric Belanger  <eric at archlinux.org>
-
-	* gpm 1.20.6-2
-	* Updated stock config and fixed rc.d script (close FS#16126)
-	* Removed array in install scriptlet
-
-2009-02-09  Eric Belanger  <eric at archlinux.org>
-
-	* gpm 1.20.6-1
-	* Upstream update
-	* Added info file support
-
-2008-06-16  Eric Belanger  <eric at archlinux.org>
-
-	* gpm 1.20.5-1
-	* Upstream update
-	* Added sanity checks
-
-2008-04-17  Eric Belanger  <eric at archlinux.org>
-
-	* gpm 1.20.3-1
-	* Upstream update
-	* Added missing /usr/lib/libgpm.so.1 symlink (close FS#9949)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-11-18 04:19:59 UTC (rev 99824)
+++ PKGBUILD	2010-11-18 07:41:28 UTC (rev 99825)
@@ -1,6 +1,5 @@
 # $Id$
 # Maintainer: Eric Belanger <eric at archlinux.org>
-# Contributor: Tom Newsom <Jeepster at gmx.co.uk>
 
 pkgname=gpm
 pkgver=1.20.6
@@ -9,28 +8,31 @@
 arch=('i686' 'x86_64')
 url="http://unix.schottelius.org/gpm/"
 license=('GPL')
-depends=('ncurses')
+depends=('ncurses' 'sh')
 backup=('etc/conf.d/gpm')
 options=('!makeflags')
 install=gpm.install
 source=(http://www.nico.schottelius.org/software/gpm/archives/${pkgname}-${pkgver}.tar.bz2 \
         gpm gpm.conf.d gpm.sh)
 md5sums=('6b534da16dc1b28ba828dea89e520f6f' '945ecde0836687e05c13ea837092ea6c'\
-         '63e599950946e5f5a649432510aacf4c' 'e391fe4599ce102615f9cd449c380d41')
+         'f436a1277571f2ae8bfa9bf2ef32f7a5' 'e391fe4599ce102615f9cd449c380d41')
 sha1sums=('f3bb9272878b7934968381c8b25edab359114150' '19e1feb1493373512a77801699df012d186336ea'\
-         'e483f893b4e6b9e1221a208527d728ffefe5438e' '88fe5ff10916c68a87abc8418a56eb0073f69fa9')
+         '4c31cb7dd51cee4d16d3f7a8956e6d87fac1ad86' '88fe5ff10916c68a87abc8418a56eb0073f69fa9')
 
 build() {
   cd "${srcdir}/${pkgname}-${pkgver}"
-  ./configure --prefix=/usr --sysconfdir=/etc || return 1
-  make || return 1
-  make DESTDIR="${pkgdir}" install || return 1
-  install -D -m755 ../gpm "${pkgdir}/etc/rc.d/gpm" || return 1
-  install -D -m644 ../gpm.conf.d "${pkgdir}/etc/conf.d/gpm" || return 1
-  install -D -m755 ../gpm.sh "${pkgdir}/etc/profile.d/gpm.sh" || return 1
+  ./configure --prefix=/usr --sysconfdir=/etc
+  make
+}
 
+package() {
+  make DESTDIR="${pkgdir}" install
+  install -D -m755 ../gpm "${pkgdir}/etc/rc.d/gpm"
+  install -D -m644 ../gpm.conf.d "${pkgdir}/etc/conf.d/gpm"
+  install -D -m755 ../gpm.sh "${pkgdir}/etc/profile.d/gpm.sh"
+
 # library fixes
   cd "${pkgdir}/usr/lib/"
-  ln -s libgpm.so.2.* libgpm.so || return 1
-  chmod 755 "${pkgdir}"/usr/lib/libgpm.so.* || return 1
+  ln -s libgpm.so.2.* libgpm.so
+  chmod 755 "${pkgdir}"/usr/lib/libgpm.so.*
 }




More information about the arch-commits mailing list