summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: d7154f0aa9745a418ea1b14574e3c6594e15b6c2 (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
# Maintainer: Toni500 <tonino512@linuxmail.org>
pkgname="customfetch-gui-bin"
_pkgname="customfetch"
pkgver=0.10.2
pkgrel=1
pkgdesc="Highly customizable and fast system information fetch program (With GUI mode) (Binary files)"
arch=('x86_64' 'aarch64')
url="https://github.com/Toni500github/customfetch"
license=('BSD-3-Clause')
depends=('gtk3' 'gtkmm3')
optdepends=(
        "ttf-liberation: Font to be used for GUI (recommended)"
        "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-bin')
source=("${url}/releases/download/v${pkgver}/${_pkgname}-gui-v${pkgver}.tar.gz")
sha256sums=("b2392515756562885aba59537943a05e5819e337675df89e3431eb03fb66d490")

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