blob: 22c8c3892f2c18bfa4e558f064df0b39f8d91ae4 (
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
|
# Maintainer: Toni500 <tonino512@linuxmail.org>
pkgname="customfetch-gui"
_pkgname="customfetch"
pkgver=1.0.0
pkgrel=1
pkgdesc="Highly customizable and fast system information fetch program (GUI app)"
arch=('x86_64' 'aarch64')
url="https://github.com/Toni500github/customfetch"
license=('BSD-3-Clause')
depends=('gtk3' 'gtkmm3' 'customfetch-common')
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-bin')
makedepends=('base-devel')
source=("git+${url}.git")
sha256sums=("SKIP")
prepare() {
cd "${srcdir}/${_pkgname}"
git checkout "tags/v${pkgver}"
}
build() {
make -C "${srcdir}/${_pkgname}" DEBUG=0 GUI_APP=1
}
package() {
mkdir -p "${pkgdir}/usr/bin/" "${pkgdir}/usr/share/application/"
cd "${srcdir}/${_pkgname}"
mv ./build/release/customfetch-gui "${pkgdir}/usr/bin/"
mv ./customfetch.desktop "${pkgdir}/usr/share/application/"
}
|