blob: f0fc95b016167a6dc7ad1e7e50796ca493e0f67f (
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-contextmenu
pkgver=01c6011
pkgrel=1
pkgdesc="Collection of classes for easy creating context and application menus."
arch=(any)
url="https://github.com/kivy-garden/contextmenu"
license=('MIT')
depends=('python')
options=(!emptydirs)
provides=('python-kivy-garden-contextmenu')
source=('git+https://github.com/kivy-garden/contextmenu.git')
_gitname="contextmenu"
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
}
|