summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: dda232a0cb524f89da28a459fc487a28431a0f18 (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
# Maintainer: Toni500 <tonino512@linuxmail.org>
pkgname="customfetch-bin"
_pkgname="customfetch"
pkgver=0.10.2
pkgrel=1
pkgdesc="Highly customizable and fast system information fetch program (Binary files)"
arch=('x86_64' 'aarch64')
url="https://github.com/Toni500github/customfetch"
license=('BSD-3-Clause')
#depends=() # some of them are in the "base" meta-package anyway so basically no extra depends
optdepends=(
        'wayland: Library for getting the Wayland compositor faster'
        'dconf: Alternative to the slow gsettings command'
        'libxfce4util: Query XFCE4 version faster'
)
conflicts=('customfetch-gui-git' 'customfetch-gui' 'customfetch-git' 'customfetch-gui-bin')
source=("${url}/releases/download/v${pkgver}/${_pkgname}-v${pkgver}.tar.gz")
sha256sums=("05d66f989dd22c99d94960848765e6b9542891941804aaee1b18398662297d3e")

package() {
    cd "${srcdir}/"
    install -Dm755 "customfetch" "${pkgdir}/usr/bin/customfetch"
    install -Dm644 "customfetch.1" "${pkgdir}/usr/share/man/man1/customfetch.1"
    install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
    cd assets/ && find ascii/ -type f -exec install -Dm 644 "{}" "${pkgdir}/usr/share/customfetch/{}" \;
}