blob: 69487a06a7e3b1e5d0def76f578dcfa0a00a46c9 (
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: Peter Bui <pnutzh4x0r@gmail.com>
pkgname=py-icu
_pkgname=PyICU
pkgver=1.9.6
pkgrel=0
pkgdesc="Python binding for ICU"
url="http://pyicu.osafoundation.org/"
arch="all"
license="MIT"
depends="python2"
makedepends="python2-dev icu-dev"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
check() {
cd "$builddir"
python2 setup.py check
}
build() {
cd "$builddir"
python2 setup.py build
}
package() {
cd "$builddir"
python2 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="51ae0876dbe79c696a7630ec184049df685eebc4660b439b8a3e6e86ef37dfa8cdd0fd6895fc230f954baad30528f4017a7b6a17edc8f7e8b9e4c1bd729d447a PyICU-1.9.6.tar.gz"
|