summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 735662b49fe457dfc8530b22b9470b3ffe0e7409 (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: Chris Werner Rau <aur@cwrau.io>
# Submitter: Chris Werner Rau <aur@cwrau.io>

pkgname=python-dynmen
_name=${pkgname#python-}
pkgver=0.1.5
pkgrel=1
pkgdesc="Python wrappers for dynamic menus (dmenu, rofi, fzf, ...)"
arch=('any')
url="https://pypi.org/project/${_name}/${pkgver}"
license=('MIT')
depends=('python' 'python-traitlets>=4.3.2')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
md5sums=('42d3bd58e94435a528d7cb0d57b04fce')

build() {
  cd "$srcdir"/${_name}-${pkgver}
  python setup.py build
}
 
package() {
  cd "$srcdir/${_name}-$pkgver"
  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}

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