summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c51471877091714b495148f1016cc6ba6dfd9402 (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: Jack Johannesen <jack AT insertdomain DOT name>

pkgname="freshfetch-bin"
pkgver=0.2.0
pkgrel=2
pkgdesc="A fresh take on Neofetch"
arch=('x86_64')
url="https://github.com/K4rakara/freshfetch"
license=('MIT')
depends=()
makedepends=()
optdepends=('xorg-xrandr' 'xorg-xwininfo')
provides=('freshfetch')
conflicts=('freshfetch-git' 'freshfetch')
source=("https://github.com/K4rakara/${pkgname//-bin}/releases/download/v$pkgver/freshfetch.tar.gz"
        "https://raw.githubusercontent.com/K4rakara/${pkgname//-bin}/master/LICENSE.md")
md5sums=('b54ca36f991955c9a97e825bbcb7090a'
         'a4c191c500e67564935777e1abaebbab')
noextract=('freshfetch.tar.gz')

package() {
  cd $pkgdir;
  tar -xzvf $srcdir/../freshfetch.tar.gz;
  chown root:root ./usr/bin/freshfetch;
  install \
    -Dm644 \
    $srcdir/../LICENSE.md \
    ./usr/share/licenses/$pkgname/LICENSE;
}