diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2a0bb87d9a10 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com> + +pkgname=psvtools-git +pkgver=0.1.0.3.gde2e2a9 +pkgrel=1 +arch=('any') +pkgdesc="PSV file trimmer, restoration, and validation utility (Python). (GIT version" +url='https://github.com/kageurufu/psvtools' +license=('MIT') +depends=('python-setuptools') +makedepends=('git') +conflicts=('psvtools') +provides=('psvtools') +source=('git+https://github.com/kageurufu/psvtools.git') +sha256sums=('SKIP') + +pkgver() { + cd psvtools + echo "$(git describe --long --tags | tr - .)" +} + +package() { + cd psvtools + python setup.py install --root="${pkgdir}" --optimize=1 + + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} |