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

Aaron Griffin aaron at archlinux.org
Wed Oct 28 16:16:35 UTC 2009


    Date: Wednesday, October 28, 2009 @ 12:16:35
  Author: aaron
Revision: 56842

Upgrade to 1.4.5
Remove genrpbindings from package

Modified:
  ratpoison/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++++-----
 1 file changed, 8 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-10-28 13:34:58 UTC (rev 56841)
+++ PKGBUILD	2009-10-28 16:16:35 UTC (rev 56842)
@@ -3,16 +3,16 @@
 # Contributor: John Proctor <jproctor at prium.net>
 
 pkgname=ratpoison
-pkgver=1.4.3
-pkgrel=3
+pkgver=1.4.5
+pkgrel=1
 pkgdesc="A simple keystroke-driven window manager"
 arch=('i686' 'x86_64')
 license=('GPL')
-depends=('libxinerama' 'readline' 'bash' 'perl' 'libxtst')
+depends=('libxinerama' 'readline>=6.0' 'bash' 'perl' 'libxtst' 'libxft')
 url="http://www.nongnu.org/ratpoison/"
 source=(http://savannah.nongnu.org/download/ratpoison/$pkgname-$pkgver.tar.gz
         $pkgname.desktop)
-md5sums=('c1899e3e2549d29825cdb1b8d042c836'
+md5sums=('330a08dbed6be88cab54f6947e9f0b60'
          '29c3cb9be59758e39d8471391231a74a')
 
 build() {
@@ -22,12 +22,15 @@
   find . -exec touch \{\} \;
   
   ./configure --prefix=/usr
-  make || return 1
+  make CFLAGS="$CFLAGS -DHAVE_GETLINE"|| return 1
   make DESTDIR=$pkgdir install
 
   # fix permissions
   chmod a+x $pkgdir/usr/share/ratpoison/{allwindows.sh,clickframe.pl,rpshowall.sh,rpws,split.sh}
 
+  # Not useful outside the source tree. Kill it
+  rm $pkgdir/usr/share/ratpoison/genrpbindings
+
   cd contrib
   ./genrpbindings || return 1
   install -dm755 $pkgdir/usr/share/ratpoison/bindings




More information about the arch-commits mailing list