summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c75b8cc3a4fd51a2e178a1175dbb09d915ec0b9c (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: Caltlgin Stsodaat <contact@fossdaily.xyz>

pkgname='inspektor'
pkgver=1.0.32
pkgrel=2
pkgdesc='View metadata information on files'
arch=('any')
url='https://github.com/hezral/inspektor'
license=('GPL3')
depends=('attr' 'gtk3' 'perl-image-exiftool' 'python')
makedepends=('python-setuptools')
source=("${pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
sha256sums=('41057ef4efb61a24cfb6cf70a2e45381542774635f5080803dba5ba0b5429444')

build() {
  cd "${pkgname}-${pkgver}"
  python setup.py build
}

package() {
  cd "${pkgname}-${pkgver}"
  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
  install -Dvm644 'README.md' -t "${pkgdir}/usr/share/doc/${pkgname}"
}

# vim: ts=2 sw=2 et: