mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-15 18:49:06 +08:00
27 lines
712 B
Bash
27 lines
712 B
Bash
|
# Contributor: Spyros Stathopoulos <foucault.online@gmail.com>
|
||
|
pkgname=python2-regex
|
||
|
pkgver=0.1.20120506
|
||
|
pkgrel=1
|
||
|
pkgdesc="Alternative regular expression module, to replace re."
|
||
|
arch=('i686' '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}"
|
||
|
}
|
||
|
|