diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 17 |
1 files changed, 9 insertions, 8 deletions
@@ -2,17 +2,18 @@ pkgname=python-idiotscript pkgver=1.1.1 -pkgrel=1 +pkgrel=2 pkgdesc="An easier, less powerful alternative to regular expressions" -arch=('any') -url='https://github.com/djmattyg007/IdiotScript' -license=('UNLICENSE') -depends=('python') -makedepends=('python-setuptools') +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=("c92ebfab3e3259eecafa0e3109b72fe7e713ab1dbae098175e72a923d439ae76") package() { - cd "IdiotScript-$pkgver" - python setup.py install --root="$pkgdir" + cd "IdiotScript-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 + install -Dm644 LICENSE.txt "${pkgdir}/usr/share/licenses/python-idiotscript/LICENSE.txt" } |