summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f541cb1b54405d812bf62c54a7b38ecc2755e61 (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
# Maintainer: kleintux <reg-archlinux AT klein DOT tuxli DOT ch> 
# Contributor: sekret, mail=$(echo c2VrcmV0QHBvc3Rlby5zZQo= | base64 -d)
_pkgname=lscd
pkgname=$_pkgname-git
pkgver=0.r35.989cb7e
pkgrel=2
pkgdesc="file browser written in bash with an interface similar to ranger's"
arch=('any')
url="https://github.com/hut/lscd"
license=('GPL-3.0-only')
makedepends=('git')
depends=('less' 'sh' 'inetutils')
provides=("$_pkgname")
conflicts=("$_pkgname")
source=("$_pkgname::git+$url.git")
md5sums=('SKIP')

pkgver() {
  cd "$_pkgname"
  printf "0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  install -Dm755 "$_pkgname/$_pkgname" "$pkgdir/usr/bin/$_pkgname"
}

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