diff options
author | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-08-13 01:33:19 -0700 |
commit | 7a65a910b77ad191d69881098c47f9b0c852d92e (patch) | |
tree | 9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/cdargs/PKGBUILD | |
parent | 60da6abff6c9577a783d72865f11de7a585e912e (diff) |
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/cdargs/PKGBUILD')
-rw-r--r-- | community/cdargs/PKGBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/community/cdargs/PKGBUILD b/community/cdargs/PKGBUILD new file mode 100644 index 000000000..fdddf911b --- /dev/null +++ b/community/cdargs/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 83130 2013-01-27 16:11:01Z pierre $ +# Maintainer: Aaron Griffin <aaron@archlinux.org> +# Contributor: Damir Perisa <damir.perisa@bluewin.ch> + +pkgname=cdargs +pkgver=1.35 +pkgrel=3 +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') +install=cdargs.install +source=("http://www.skamphausen.de/downloads/${pkgname}/${pkgname}-${pkgver}.tar.gz") +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" +} |