desktop/python2-regex/PKGBUILD
2014-12-17 15:29:45 +00:00

29 lines
704 B
Bash

# Maintainer: Ernesto Manríquez <alejandronova@gmail.com>
pkgname=python2-regex
_pkgname=regex
pkgver=2014.12.15
pkgrel=1
pkgdesc="Alternative regular expression module, to replace re."
arch=('x86_64')
url="https://code.google.com/p/mrab-regex-hg/"
license=('custom')
depends=('python2')
makedepends=('python2-setuptools')
conflicts=('python2-regex-hg')
source=("https://pypi.python.org/packages/source/r/$_pkgname/$_pkgname-$pkgver.tar.gz")
sha256sums=('ac7b39d07e286ee6038d86fe829a465e2f699a86ecba73726de3d9986f651b1c')
build() {
cd "$srcdir/$_pkgname-$pkgver"
python2 setup.py build
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
python2 setup.py install --prefix=/usr --root="$pkgdir"
}