summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7b36384d7620a2ca30000a73317bf9ca841718b1 (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
30
31
# Maintainer: Jeremy Gust <jeremy AT plasticsoup DOT net>
# Contributer: Holly Becker <becker.holly@gmail.com>
pkgname=fido
pkgver=1.6.1
pkgrel=1
pkgdesc="A command-line tool to identify the file formats of digital objects."
arch=('any')
url="https://openpreservation.org/tools/fido/"
license=('Apache-2.0')
depends=('python'
         'python-olefile'
         'python-six'
         'python-importlib_resources'
         'python-requests')
makedepends=('python-build'
             'python-installer'
             'python-pytest-runner'
             'python-setuptools'
             'python-wheel')
source=("$pkgname-$pkgver.tar.gz::https://github.com/openpreserve/fido/archive/v$pkgver.tar.gz")
sha256sums=('6980d23cd7b5004b42334d3032adcbeafd99cf597edc758cad0cb23f2dbab18d')

build() {
	cd "$pkgname-$pkgver"
	python -m build --wheel --no-isolation
}

package() {
	cd "$pkgname-$pkgver"
	python -m installer --destdir="${pkgdir}" dist/*.whl
}