summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4a5d1177b407358842caed9e4ca016ee96645b8f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Toni500 <tonino512@linuxmail.org>
pkgname="customfetch-common-git"
_pkgname="customfetch"
pkgver=1.0.0.r2.3e97072
pkgrel=1
pkgdesc="Common files for customfetch terminal and GUI app versions (git)"
arch=('any')
url="https://github.com/Toni500github/customfetch"
license=('BSD-3-Clause')
conflicts=('customfetch-common')
source=("git+${url}.git")
sha256sums=("SKIP")

pkgver() {
    cd "${srcdir}/${_pkgname}"
    git describe --long | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'
}

package() {
    cd "${srcdir}/${_pkgname}"
    make install-common DESTDIR="${pkgdir}" PREFIX="/usr" DEBUG=0 GUI_APP=0
}