summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 28bf38d7eb45b551518e13dfb715c8cdadd59101 (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
37
38
39
40
# Maintainer: Fronkles McFranko <mrelfranko@disroot.org>
pkgname=afetch-git
_pkgname=afetch
pkgver=1
pkgrel=1
epoch=
pkgdesc="Fast and simple system info written in C, that can be configured at compile time by editing the config.h file"
arch=("any")
url="https://github.com/13-CF/afetch"
license=('GPL')
groups=()
depends=()
makedepends=('git' 'gcc' 'make')
checkdepends=()
optdepends=()
provides=(afetch)
conflicts=(afetch)
replaces=()
backup=()
options=()
install=
changelog=
source=("git+https://github.com/13-CF/afetch"
)
noextract=()
md5sums=("SKIP")


build() {
    cd "$_pkgname"
    make all
}

package() {
    mkdir "${pkgdir}/usr/bin" -p
    mkdir "${pkgdir}/usr/share/man/man1" -p

    cd "$_pkgname"
    make DESTDIR="$pkgdir/" PREFIX="/usr/" install
}