mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-29 11:02: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.20120506
|
|
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=('f3243f10336cb9625bcd1d06a201854d915287700e4e4668401f4335c8de056f')
|
|
|
|
build() {
|
|
cd "$srcdir/regex-${pkgver}"
|
|
|
|
python2 setup.py build
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/regex-${pkgver}"
|
|
|
|
python2 setup.py install --prefix=/usr --root="${pkgdir}"
|
|
}
|
|
|