# Maintainer: Morten Linderud # Contributor: Alad Wenter pkgname=dmenu-extended-git _pkgname=dmenu-extended pkgver=r280.4f0395f pkgrel=1 pkgdesc='An extension to dmenu for quickly opening files and folders.' url='https://github.com/markjones112358/dmenu-extended' license=('MIT') arch=('any') depends=('python' 'dmenu') makedepends=('git') provides=('dmenu-extended') conflicts=('dmenu-extended') source=("git+https://github.com/markjones112358/dmenu-extended.git") sha256sums=('SKIP') pkgver() { cd "$_pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd "$_pkgname" python setup.py build } package() { cd "$_pkgname" python setup.py install --root="$pkgdir/" --optimize=1 --skip-build install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE } # vim:set ts=2 sw=2 et: