summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4db8a54c0082c93d0c680a1106a934e8dbcedcb8 (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
27
28
29
# Maintainer: SZanko szanko at protonmail dot com

pkgname=python-fsutil
pkgver=0.8.0
pkgrel=1
pkgdesc="file-system utilities for lazy devs."
arch=('any')
url="https://github.com/fabiocaccamo/python-fsutil"
license=('MIT')
depends=(
	'python'
)
makedepends=(
	'python-build'
	'python-installer'
)
source=("${url}/archive/${pkgver}.tar.gz")
sha256sums=('efc3421c7ca84aa1a2035e421174b2cfdf073bf01633b723980f9115b0e3b806')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	python3 -m build --wheel --skip-dependency-check 
}

package() {
    cd "$srcdir/$pkgname-$pkgver"
    python3 -m installer --destdir="$pkgdir" dist/*.whl
    install -Dm644 LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
}