aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 28b9d4a80b9604998b5c5ed58c35c973eb792a0a (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
# Maintainer: alba4k <blaskoazzolaaaron@gmail.com>
pkgname=albafetch-bin
pkgver=4.2.1
pkgrel=1
pkgdesc="Neofetch, but written in C; both faster and worse than the original (binary build)"
arch=(x86_64 aarch64)
url="https://github.com/alba4k/albafetch"
license=('MIT')
depends_x86_64=(pciutils sqlite)
depends_aarch64=(sqlite)
conflicts=(albafetch-git albafetch)
provides=(albafetch=4.1)
source_x86_64=("$url/releases/download/v$pkgver/albafetch-linux-x64.zip")
source_aarch64=("$url/releases/download/v$pkgver/albafetch-linux-aarch64-static.zip")

backup=("etc/xdg/albafetch.conf")

md5sums_x86_64=('7d962411a379e27eaebb2bea6f6844bf')
md5sums_aarch64=('386ba1ce43fe99d0f355cb05987fac18')

package() {
    install -Dm755 "$srcdir/albafetch" "$pkgdir/usr/bin/albafetch"

    install -Dm644 "$srcdir/../LICENSE" "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
    install -Dm644 "$srcdir/../README.md" "$pkgdir/usr/share/doc/${pkgname}/README.md"
    install -Dm644 "$srcdir/../MANUAL.md" "$pkgdir/usr/share/doc/${pkgname}/MANUAL.md"

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