blob: 825bb2253c51c5a55bb28ab56fb79d9532e04023 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Miika Launiainen <miika.launiainen@gmail.com>
pkgname=python-img-renamer
_pkgname=img-renamer
pkgver=v2.6.0
pkgrel=3
pkgdesc="Python script to rename images in numberic order."
arch=("any")
url="https://gitlab.com/miicat/$_pkgname"
license=("GPL3")
depends=("python-click")
makedepends=("git")
provides=("img-renamer")
source=("${_pkgname}::git+https://gitlab.com/miicat/${_pkgname}")
md5sums=("SKIP")
build() {
cd "${srcdir}/${_pkgname}"
git checkout v2.6.0
python setup.py build
}
package() {
cd "${srcdir}/${_pkgname}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
|