summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ea0b725cf5b32eb7c9d18fa431b4545b151428a7 (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
# Maintainer: Juliette Monsel <j_4321 at protonmail dot com>
pkgname=('python-tkcalendar')
pkgver=1.6.1
pkgrel=1
_name=tkcalendar
pkgdesc="Calendar widget for Tkinter"
arch=('any')
url="https://pypi.python.org/pypi/tkcalendar"
license=('GPL3')
source=("tkcalendar-$pkgver.tar.gz::https://github.com/j4321/$_name/archive/v$pkgver.tar.gz")
sha512sums=('12b83fa01dcfcb366fc6464896bd1c824d1524626fec31ea29f2c021f02085063f826130f0ab85fa3db5b31fff5269c8a8c21c48b889f277ba92eab513094e54')
makedepends=('python-setuptools')
depends=('python-babel' 'tk')

build() {
    cd "$srcdir/$_name-$pkgver"
    python setup.py build
}

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