aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 48b71b83d72b84c72be43debb413577ecc4e72ca (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
# deasdavid9@gmail.com
pkgname=attosfetch
pkgver=2.0
pkgrel=1
pkgdesc="A minimal, simple and configurable fetching tool written in bash; previous: attofetch."
arch=('any')
url="https://github.com/davyidx/attosfetch"
license=('Unlicense')
depends=('bash')
source=("attosfetch" "attosfetch.sh" "attosfetch.conf" "ascii.txt" "skull.txt")
md5sums=('SKIP' 'SKIP' 'SKIP' 'SKIP' 'SKIP')

package() {
  # Launcher installation:
  install -Dm755 "$srcdir/attosfetch" "$pkgdir/usr/bin/attosfetch"

  # Attofetch installation:
  install -Dm755 "$srcdir/attosfetch.sh" "$pkgdir/usr/share/attosfetch/attosfetch.sh"
  install -Dm644 "$srcdir/ascii.txt" "$pkgdir/usr/share/attosfetch/ascii.txt"
  install -Dm644 "$srcdir/skull.txt" "$pkgdir/usr/share/attosfetch/skull.txt"

  # Configuration file installation:

  install -Dm644 "$srcdir/attosfetch.conf" "$pkgdir/etc/attosfetch.conf"
}