diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 15 insertions, 8 deletions
@@ -4,7 +4,7 @@ pkgname=('python-rebulk' 'python2-rebulk') _name=${pkgname#python-} pkgver=2.0.1 -pkgrel=3 +pkgrel=4 pkgdesc="Define simple search patterns in bulk to perform advanced matching on any string. " arch=("any") url="https://github.com/Toilal/rebulk" @@ -29,18 +29,25 @@ check() { } package_python-rebulk() { - depends=('python' - 'python-six' - 'python-regex') + depends=( + 'python' + 'python-six' + ) + optdepends=( + 'python-regex' + ) cd "${srcdir}/rebulk-${pkgver}" python setup.py install --root="${pkgdir}/" --optimize=1 } package_python2-rebulk() { - depends=('python2' - 'python2-six' - 'python2-regex' - 'python2-ordereddict') + depends=( + 'python2' + 'python2-six' + ) + optdepends=( + 'python2-regex' + ) cd "${srcdir}/rebulk-${pkgver}-py2" python2 setup.py install --root="${pkgdir}/" --optimize=1 } |