summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 9214ea40ab2ac9e22de682b3f1c42f21159a5c02 (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
28
#Maintainer: jnanar <info@agayon.be>

pkgname=python-kivy-garden-modernmenu
pkgver=681c3bf
pkgrel=1
pkgdesc="A context menu for Kivy with modern look and feel."
arch=(any)
url=""
license=('MIT')
depends=('python')
options=(!emptydirs)
#optdepends=('')
provides=('python-kivy-garden-modernmenu')

source=('git+https://github.com/kivy-garden/modernmenu.git')
_gitname="modernmenu"
sha512sums=('SKIP')

pkgver() {
  cd $_gitname
  git rev-parse --short HEAD  | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}


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