summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bd82204d9ab9731ef1dfabae204c9184223f4b5e (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
# Maintainer: exkc <exxxxkc@getgoogleoff.me>
# Co-Maintainer: Niki <nik@cock.lu>
_pkgname=binfetch
pkgname=binfetch-git
pkgver=0.1.r0.g4c63508
pkgrel=1
pkgdesc="Neofetch inspired utility for binaries. CC0"
arch=(x86_64 i686 aarch64 armv7)
url="https://socki.moe"
license=('CC0')
depends=(ib-git)
source=("${_pkgname}::git+https://github.com/Nik-Nothing/binfetch.git")
conflicts=("${_pkgname}")
provides=("${_pkgname}")
sha256sums=('SKIP')

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

build() {
  cd $_pkgname

  make PREFIX=/usr
}

package() {
  cd $_pkgname

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