summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b533fe554097da67067ff3939d927134e1f8815b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Maintainer: Piotr Miller <nwg.piotr@gmail.com>
pkgname=('psuinfo')
pkgver=1.2
pkgrel=3
pkgdesc="A psutil-based command to display customizable system info, intended for Tint2 or other panels"
arch=('x86_64')
url="https://github.com/nwg-piotr/psuinfo"
license=('GPL3')
depends=('python' 'python-psutil')

source=("https://github.com/nwg-piotr/psuinfo/archive/v$pkgver.tar.gz")

md5sums=('301b8d9f71b84150229c682fc047e3d7')

package() {
  install -D -m 755 "$pkgname"-"$pkgver"/psuinfo "$pkgdir"/usr/bin/psuinfo
  install -D -t "$pkgdir"/usr/share/"$pkgname" "$pkgname"-"$pkgver"/icons/*.svg
  install -D -t "$pkgdir/usr/share/tint2" "$pkgname"-"$pkgver"/configs/*.tint2rc
}