summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ec3ed30d68db53868b04efbfc55d8c37bf3e525a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Andrej Radović <r.andrej@gmail.com>
pkgname=python-srtools
_name=${pkgname#python-}
pkgver=0.1.13
pkgrel=1
pkgdesc="Commandline utility and Python package for Cyrillic ↔ Latin transliteration of Serbian Language"
url="https://gitlab.com/andrejr/srtools"
depends=('python')
makedepends=('python-setuptools')
license=('GPL3')
arch=('any')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz")
sha256sums=('6f9b51ab64e1d8a5609b12a1bdea7d6b1908f2269210ed85f0097b0200aa4a69')

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

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