blob: 4c91259220e4b13629202144cc2004f69e8bc673 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
pkgname='python-pathvalidate'
_module='pathvalidate'
pkgver='0.16.2'
pkgrel=1
pkgdesc="A Python library to validate/sanitize a string such as filenames/variable-names/excel-sheet-names."
url="https://github.com/thombashi/pathvalidate"
depends=('python')
makedepends=('python-setuptools')
license=('MIT')
arch=('any')
source=("https://github.com/thombashi/pathvalidate/archive/v${pkgver}.tar.gz")
md5sums=('083344c144ed3ebe0e7d82731c2ddbf7')
build() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py build
}
package() {
cd "${srcdir}/${_module}-${pkgver}"
python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
}
|