summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d7484ae2bd1231ee6310f58f1f7e3f97e51030c7 (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: JumperPunk <spartan074 _at_ gmail dot com>

pkgname=udiskie-dmenu-git
_gitroot='udiskie-dmenu'
pkgver=9.451ec99
pkgrel=2
pkgdesc='manage removable devices via dmenu (or rofi)'
arch=('any')
url="https://github.com/fogine/${_gitroot}"
license=('MIT')
depends=('udiskie' 'dmenu' 'nodejs' 'libnotify')
optdepends=('rofi: use rofi as the front-end')
makedepends=('git')
conflicts=()
provides=()
source=("git://github.com/fogine/${_gitroot}.git")
md5sums=('SKIP')

pkgver() {
  cd "${srcdir}/${_gitroot}"
  echo "$(git rev-list --count HEAD).$(git describe --always)"
}

package() {
  cd "${srcdir}/${_gitroot}"
  install ${_gitroot} -D "${pkgdir}/usr/bin/${_gitroot}"
}