PKGBUILDs/extra/cdargs/PKGBUILD
2009-10-23 21:14:54 -05:00

28 lines
862 B
Bash

# Maintainer: damir <damir@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')
license=('GPL2')
url="http://www.skamphausen.de/software/cdargs/"
depends=('glibc' 'ncurses' 'gcc-libs')
install=$pkgname.install
source=(http://www.skamphausen.de/downloads/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('50be618d67f0b9f2439526193c69c567')
build() {
cd $startdir/src/$pkgname-$pkgver
./configure --prefix=/usr --mandir=/usr/share/man
make || return 1
make DESTDIR=$startdir/pkg install
# install helper scripts
mkdir -p $startdir/pkg/usr/share/cdargs
cd contrib
make || return 1
make DESTDIR=$startdir/pkg install
install $pkgname-{tcsh.csh,bash.sh} $startdir/pkg/usr/share/cdargs
}