summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 68e70633dc058b4b739e873c7807d4de8751ac74 (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
37
# Maintainer:
# Contributor: Alexander F Rødseth <xyproto@archlinux.org>
# Contributor: Aaron Griffin <aaron@archlinux.org>
# Contributor: Damir Perisa <damir.perisa@bluewin.ch>

pkgname=cdargs
pkgver=1.35
pkgrel=8
pkgdesc="Replacement for 'cd' that includes bookmarks/browsing for faster navigation"
arch=('x86_64')
license=('GPL')
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 "$pkgname-$pkgver"

  ./configure --prefix=/usr --mandir=/usr/share/man
  make
  make -C contrib
}

package() {
  cd "$pkgname-$pkgver"

  make DESTDIR="$pkgdir" install
  make -C contrib DESTDIR="$pkgdir" install
  
  install -d "$pkgdir/usr/share/cdargs"
  install "contrib/$pkgname-"{tcsh.csh,bash.sh} "$pkgdir/usr/share/cdargs"
}

# vim:set ts=2 sw=2 et: