summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7a34334035474882bc41b38b2223b64347520f01 (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
32
33
34
# Maintainer: Yarema aka Knedlyk <yupadmin at gmail dot com>
# Contributor: Yarema aka Knedlyk <yupadmin at gmail dot com>

pkgbase=python-getdevinfo
pkgname=('python-getdevinfo')
pkgver=1.1.1
pkgrel=3
pkgdesc="A device information gatherer for Linux and macOS."
arch=('any')
url="https://www.hamishmb.com/html/downloads.php?program_name=getdevinfo"
license=('PSF')
makedepends=('python-setuptools')
depends=('python' 'lshw' 'lvm2')

source=("https://www.hamishmb.com/files/Downloads/getdevinfo/${pkgver}/Python/getdevinfo-${pkgver}.tar.gz")

prepare() {
  cd "$srcdir"/getdevinfo-$pkgver
}

build() {
  cd "$srcdir"/getdevinfo-$pkgver
  python setup.py build

#  cd "$srcdir"/getdevinfo-$pkgver
#  python setup.py build
}

package() {

  cd getdevinfo-$pkgver
  python setup.py install --root="$pkgdir"
}
md5sums=('340e1ae3c24591ac27d677a7901e94d6')