summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 78c22075ac77b9b929417f963448ff75ce2a37fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# Maintainer: Matthew Gamble

pkgname=python-idiotscript
pkgver=1.1.1
pkgrel=4
pkgdesc="An easier, less powerful alternative to regular expressions"
arch=("any")
url="https://github.com/djmattyg007/IdiotScript"
license=("Unlicense")
depends=("python")
makedepends=("python-setuptools")
source=("https://github.com/djmattyg007/IdiotScript/archive/${pkgver}.zip")
sha256sums=("38016ff7734ba9f0f82bdb34076995ac96960f33ec98608907ad18ae0c2b08c2")

package() {
    cd "IdiotScript-${pkgver}"
    python setup.py install --root="${pkgdir}" --optimize=1
    install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-idiotscript/LICENSE.txt"
}