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

Alexander Rødseth arodseth at archlinux.org
Thu Mar 23 16:23:11 UTC 2017


    Date: Thursday, March 23, 2017 @ 16:23:10
  Author: arodseth
Revision: 218539

upgpkg: cdargs 1.35-7

Modified:
  cdargs/trunk/PKGBUILD
Deleted:
  cdargs/trunk/cdargs.install

----------------+
 PKGBUILD       |   43 ++++++++++++++++++++++---------------------
 cdargs.install |    3 ---
 2 files changed, 22 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-23 14:26:20 UTC (rev 218538)
+++ PKGBUILD	2017-03-23 16:23:10 UTC (rev 218539)
@@ -1,36 +1,37 @@
 # $Id$
-# Maintainer: Aaron Griffin <aaron at archlinux.org>
+# Maintainer: Alexander F Rødseth <xyproto at archlinux.org>
+# Contributor: Aaron Griffin <aaron at archlinux.org>
 # Contributor: Damir Perisa <damir.perisa at bluewin.ch>
 
 pkgname=cdargs
 pkgver=1.35
-pkgrel=6
-pkgdesc="A replacement for 'cd' that includes bookmarks/browsing for faster navigation"
-arch=('i686' 'x86_64')
+pkgrel=7
+pkgdesc="Replacement for 'cd' that includes bookmarks/browsing for faster navigation"
+arch=('x86_64' 'i686')
 license=('GPL')
-url="http://www.skamphausen.de/cgi-bin/ska/CDargs"
-depends=('ncurses' 'gcc-libs')
-install=cdargs.install
-source=("http://www.skamphausen.de/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('50be618d67f0b9f2439526193c69c567')
+url='http://www.skamphausen.de/cgi-bin/ska/CDargs'
+depends=('ncurses' 'gcc-libs' 'bash')
+source=("http://www.skamphausen.de/downloads/$pkgname/$pkgname-$pkgver.tar.gz"{,.asc})
+validpgpkeys=('2165AF40D64494895B947503B33F54780BA0A295') # Stefan Kamphausen
+md5sums=('50be618d67f0b9f2439526193c69c567'
+         'SKIP')
 
 build() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
+  cd "$pkgname-$pkgver"
+
   ./configure --prefix=/usr --mandir=/usr/share/man
   make
-  
-  cd contrib
-  make
+  make -C contrib
 }
 
 package() {
-  cd "${srcdir}/${pkgname}-${pkgver}"
-  make DESTDIR="${pkgdir}" install
+  cd "$pkgname-$pkgver"
+
+  make DESTDIR="$pkgdir" install
+  make -C contrib DESTDIR="$pkgdir" install
   
-  # install helper scripts
-  cd contrib
-  make DESTDIR="${pkgdir}" install
-  
-  install -d "${pkgdir}/usr/share/cdargs"
-  install $pkgname-{tcsh.csh,bash.sh} "${pkgdir}/usr/share/cdargs"
+  install -d "$pkgdir/usr/share/cdargs"
+  install "contrib/$pkgname-"{tcsh.csh,bash.sh} "$pkgdir/usr/share/cdargs"
 }
+
+# vim:set ts=2 sw=2 et:

Deleted: cdargs.install
===================================================================
--- cdargs.install	2017-03-23 14:26:20 UTC (rev 218538)
+++ cdargs.install	2017-03-23 16:23:10 UTC (rev 218539)
@@ -1,3 +0,0 @@
-post_install() {
-  echo "cdargs: helper scripts are in /usr/share/cdargs/"
-}


More information about the arch-commits mailing list