blob: e36fc6330bea57141f495b1515b3eea61619ab19 (
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
29
30
|
# Maintainer: Arnaud Joset <info@agayon.be>
pkgname=python-plyer
_name=plyer
pkgver=2.1.0
pkgrel=1
pkgdesc="Platform-independent wrapper for platform-dependent APIs"
arch=('any')
depends=('python')
makedepends=('python-setuptools')
url="https://github.com/kivy/plyer"
license=('MIT')
options=(!emptydirs)
source=(https://github.com/kivy/$_name/archive/$pkgver.tar.gz)
sha256sums=('ea95f48ad127faf43a35917a002a2e292d3449f2394b6794b8ecd59f710b5fe0')
build() {
cd "$srcdir/${_name}-$pkgver"
msg 'Installing...'
python setup.py build
}
package() {
cd "$srcdir/${_name}-$pkgver"
msg 'Installing...'
python setup.py install --root="$pkgdir" --optimize=1
}
|