summaryrefslogtreecommitdiff
path: root/extra/cdargs/PKGBUILD
blob: b43e4c15dd0b0685c3372d91920c4299092bcb55 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# $Id: PKGBUILD 104930 2011-01-05 15:27:14Z andrea $
# Maintainer: Aaron Griffin <aaron@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>

pkgname=cdargs
pkgver=1.35
pkgrel=2
pkgdesc="A replacement for 'cd' that includes bookmarks/browsing for faster navigation"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL')
url="http://www.skamphausen.de/cgi-bin/ska/CDargs"
depends=('ncurses' 'gcc-libs')
source=("http://www.skamphausen.de/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz")
install=${pkgname}.install
md5sums=('50be618d67f0b9f2439526193c69c567')

build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
  
  cd contrib
  make
}

package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make 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
}