[ create a new paste ] login | about

Link: http://codepad.org/a6eNVoHW    [ raw code | fork ]

Plain Text, pasted on Apr 8:
# Maintainer: Roman Zimbelmann <romanz@lavabit.com>
_pkgname=ranger
pkgname=$_pkgname-git
pkgver=1.6.0.109.g234a50a
pkgrel=1
pkgdesc="A simple, vim-like file manager."
arch=('any')
url="http://savannah.nongnu.org/projects/ranger"
license=('GPL')
depends=('python')
makedepends=('git')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+git://git.sv.gnu.org/ranger.git")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$_pkgname"
  git describe --always | sed -e 's|-|.|g' -e '1s|^.||'
}

package() {
  cd "$srcdir/$_pkgname"
  python setup.py -q install --root="$pkgdir" --optimize=1
}

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



Create a new paste based on this one


Comments: