summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: efbe6e6a3fb48113a202e2e3dd12250159737a4e (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
# Maintainer: Kewl <xrjy@nygb.rh.bet(rot13)>

pkgname='python-korean_lunar_calendar'
_pkgname=${pkgname#python-}
pkgver=0.3.1
pkgrel=1
pkgdesc="Library to convert Korean lunar-calendar to Gregorian calendar"
arch=('any')
depends=()
makedepends=('python-setuptools')
url="https://github.com/usingsky/korean_lunar_calendar_py"
license=('GPL3')
source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha256sums=('eb2c485124a061016926bdea6d89efdf9b9fdbf16db55895b6cf1e5bec17b857')

build() {
  cd $_pkgname-$pkgver
  python setup.py build
}

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