mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
28 lines
702 B
Bash
28 lines
702 B
Bash
# Maintainer: Ernesto Manríquez <alejandronova@gmail.com>
|
|
|
|
pkgname=python2-regex
|
|
pkgver=0.1.20120613
|
|
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-distribute')
|
|
conflicts=('python2-regex-hg')
|
|
source=("https://launchpad.net/ubuntu/+archive/primary/+files/python-regex_${pkgver}.orig.tar.gz")
|
|
sha256sums=('e94f24600c82e3ed72b5022dfc2e2d1d0c44fe62a7f6860ae31075ad28fed3c2')
|
|
|
|
build() {
|
|
cd "$srcdir/regex-${pkgver}"
|
|
|
|
python2 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/regex-${pkgver}"
|
|
|
|
python2 setup.py install --prefix=/usr --root="${pkgdir}"
|
|
}
|
|
|