initial import
This commit is contained in:
27
python-regex/PKGBUILD
Normal file
27
python-regex/PKGBUILD
Normal file
@@ -0,0 +1,27 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
# Submitter (Arch): Xiao-Long Chen <chenxiaolong@cxl.epac.to>
|
||||
|
||||
_pkgbase=regex
|
||||
pkgname=python-regex
|
||||
pkgver=2021.7.6
|
||||
pkgrel=2
|
||||
pkgdesc="Alternative python regular expression module."
|
||||
arch=('i686' 'x86_64')
|
||||
url='https://bitbucket.org/mrabarnett/mrab-regex'
|
||||
license=('Python' 'Apache-2.0')
|
||||
depends=('python')
|
||||
makedepends=('python-setuptools')
|
||||
options=(!emptydirs)
|
||||
source=("https://files.pythonhosted.org/packages/source/r/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz")
|
||||
sha512sums=('0849caaafc669b6dc322dcd4d48962cefbe955c19f9ee3d657b7b8389f77ab2b2e27ec341745dff01a60dd3930904d69015a334ff748de10be2d0b7c421b0967')
|
||||
|
||||
build() {
|
||||
cd "${_pkgbase}-${pkgver}"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${_pkgbase}-${pkgver}"
|
||||
python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build
|
||||
install -Dm644 LICENSE.txt -t "${pkgdir}"/usr/share/licenses/${pkgname}
|
||||
}
|
||||
Reference in New Issue
Block a user