summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 32a2fc2f6c2c9e83e62ace9d0bd074b7b87da577 (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
# Maintainer: sekret, mail=$(echo c2VrcmV0QHBvc3Rlby5zZQo= | base64 -d)
_pkgname=lscd
pkgname=$_pkgname-git
pkgver=0.r35.989cb7e
pkgrel=1
pkgdesc="file browser written in bash with an interface similar to ranger's"
arch=('any')
url="https://github.com/hut/lscd"
license=('GPL3')
makedepends=('git')
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: