summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b5669888f607aaa407fd5cbfc5439bf9e2de91c7 (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: Lorenz Steinert <lorenz@steinerts.de>
pkgname=python-icalevents
pkgver=0.1.24
pkgrel=0
pkgdesc="Python module for iCal URL/file parsing and querying."
arch=(any)
url="https://github.com/irgangla/icalevents"
license=('MIT')
depends=('python-httplib2', 'python-icalendar', 'python-pytz')
makedepends=()
optdepends=()
source=(https://files.pythonhosted.org/packages/source/${pkgname::1}/$pkgname/$pkgname-$pkgver.tar.gz)
sha256sums=('242d79860eae55eeeb4906ecac6b486f35f22e36ab8f60c8142e911c16f2d27b')

build() {
  cd "$pkgname-$pkgver"

  python setup.py build
}

package() {
  cd "$pkgname-$pkgver"

  python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
}