cruxports/python3-pyicu/Pkgfile

19 lines
505 B
Plaintext

# Description: python wrapper for the ICU C++ libraries
# URL: https://gitlab.pyicu.org/main/pyicu
# Maintainer: John McQuah, jmcquah at disroot dot org
# Depends on: python3-setuptools icu
name=python3-pyicu
version=2.8.1
release=1
source=(https://gitlab.pyicu.org/main/pyicu/-/archive/v$version/${name##python3-}-v$version.tar.gz)
build() {
cd ${name##python3-}-v$version
/usr/bin/python3 setup.py build
/usr/bin/python3 setup.py install --skip-build \
--optimize=1 --prefix=/usr --root=$PKG
}