summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3b320d921ecd1d137acb2604890b78d30e29522e (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
# Maintainer: Brian Bidulock <bidulock@openss7.org>
pkgname=screenfetch-git
_pkgname=screenfetch
pkgver=3.8.0.r35.gdf6a2b1
pkgrel=1
epoch=1
pkgdesc="CLI Bash script to show system/theme info in screenshots"
arch=('any')
url="https://github.com/KittyKatt/screenFetch"
license=('GPL')
provides=($_pkgname)
conflicts=($_pkgname)
depends=('bash' 'xorg-xdpyinfo' 'xorg-xprop')
optdepends=('scrot: To take screenshot')
makedepends=('git')
source=("$pkgname::git+https://github.com/KittyKatt/screenFetch.git")
md5sums=('SKIP')

pkgver() {
  cd $pkgname
  git describe --tags --long | sed -r -e 's,^[^0-9]*,,;s,([^-]*-g),r\1,;s,[-_],.,g'
}

package() {
  cd $pkgname
  install -Dm755 "screenfetch-dev" "$pkgdir/usr/bin/screenfetch"
  install -Dm644 "screenfetch.1" "$pkgdir/usr/share/man/man1/screenfetch.1"
}