summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d77b6679822be550daf283ac8f1a9ae80c24c29e (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
35
36
37
38
39
40
41
42
# Maintainer: Ian Ker-Seymer <i.kerseymer@gmail.com>

pkgname=climate
pkgver=0.2
pkgrel=1
pkgdesc="Climate is the ultimate command line tool for Linux"
url="https://github.com/adtac/climate"
arch=('any')
license=('GPLv3')
optdepends=('unzip: extracting zip files'
            'wget: retrieving files'
            'curl: making http requests'
            'dnsutils: provides dig command'
            'git: git support'
            'rar: extacting rar files'
            'python: running python scripts'
            'pip: installing python packages'
            'node: running node scripts'
            'fdupes: de-deplicating files'
            'sshfs: ssh filesystem support'
            'lm_sensors: read cpu temperatures, voltage, fans'
            'speedtest-cli: check networking speed'
            'gawk: gawk suport'
            'p7zip: extracting 7z files')
install="${pkgname}.install"
source=("${url}/archive/v${pkgver}.tar.gz")
sha256sums=('781f42f4d59374e90f9c3efba271209d8b5e985279696bdd93bcd2f826f0177e')

build() {
  cd "${pkgname}-${pkgver}"
}

package() {
  cd "${pkgname}-${pkgver}"

  install -Dm644 climate "${pkgdir}/usr/bin/climate"
  install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"

  chmod +x "$pkgdir/usr/bin/climate"
}

# vim:set ts=2 sw=2 et: