[arch-commits] Commit in giftcurs/trunk (PKGBUILD giftcurs.install)

Eric Belanger eric at archlinux.org
Tue Aug 19 00:14:46 EDT 2008


    Date: Tuesday, August 19, 2008 @ 00:14:46
  Author: eric
Revision: 9810

upgpkg: giftcurs 0.6.2-2
    ncurses 5.6-7 rebuild, added license, updated source url, FHS man pages, cleaned up install scriptlet

Modified:
  giftcurs/trunk/PKGBUILD
  giftcurs/trunk/giftcurs.install

------------------+
 PKGBUILD         |   17 +++++++++--------
 giftcurs.install |   13 -------------
 2 files changed, 9 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-08-19 03:16:38 UTC (rev 9809)
+++ PKGBUILD	2008-08-19 04:14:46 UTC (rev 9810)
@@ -4,22 +4,23 @@
 
 pkgname=giftcurs
 pkgver=0.6.2
-pkgrel=1
+pkgrel=2
 pkgdesc="A curses frontend to the giFT daemon."
+arch=('i686' 'x86_64')
+url="http://www.nongnu.org/giftcurs/"
+license=('GPL')
+depends=('ncurses>=5.6-7' 'gift' 'glib2')
 makedepends=('gpm')
-depends=('ncurses' 'gift' 'glib2')
 install="$pkgname.install"
-url="http://www.nongnu.org/giftcurs/"
-source=(http://fnord.csbnet.se/$pkgname/giFTcurs-$pkgver.tar.gz \
+source=(http://savannah.nongnu.org/download/giftcurs/giFTcurs-$pkgver.tar.gz \
         rungift)
-md5sums=('9a34b924ea10ce0a1d62441ee2bacfff' \
-         '39ea35aec64533100b9c79e47dedd3a1')
+md5sums=('9a34b924ea10ce0a1d62441ee2bacfff' '39ea35aec64533100b9c79e47dedd3a1')
 
 build() {
   cd $startdir/src/giFTcurs-$pkgver
-  ./configure --prefix=/usr
+  ./configure --prefix=/usr --mandir=/usr/share/man
   make || return 1
   make DESTDIR=$startdir/pkg install
-  install -D -m755 $startdir/rungift \
+  install -D -m755 $startdir/src/rungift \
     $startdir/pkg/usr/bin/rungift
 }

Modified: giftcurs.install
===================================================================
--- giftcurs.install	2008-08-19 03:16:38 UTC (rev 9809)
+++ giftcurs.install	2008-08-19 04:14:46 UTC (rev 9810)
@@ -7,16 +7,3 @@
 
 EOF
 }
-
-post_upgrade() {
-  post_install $1
-}
-
-pre_remove() {
-  /bin/true
-}
-
-op=$1
-shift
-
-$op $*




More information about the arch-commits mailing list