diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /extra/cdargs |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'extra/cdargs')
-rw-r--r-- | extra/cdargs/PKGBUILD | 36 | ||||
-rw-r--r-- | extra/cdargs/cdargs.install | 7 |
2 files changed, 43 insertions, 0 deletions
diff --git a/extra/cdargs/PKGBUILD b/extra/cdargs/PKGBUILD new file mode 100644 index 000000000..987321e06 --- /dev/null +++ b/extra/cdargs/PKGBUILD @@ -0,0 +1,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') +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 +} diff --git a/extra/cdargs/cdargs.install b/extra/cdargs/cdargs.install new file mode 100644 index 000000000..b1a5c1d9d --- /dev/null +++ b/extra/cdargs/cdargs.install @@ -0,0 +1,7 @@ +post_install() { + echo "cdargs: helper scripts are in /usr/share/cdargs/" +} + +post_upgrade() { + echo "cdargs: helper scripts are in /usr/share/cdargs/" +} |