summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 05b1db5e396a9430cc713885a9d924294f06367e (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
# Maintainer: Vincent Dahmen <4dahmen[at]informatik[dot]uni-hamburg.de> 

pkgname=nyancat-console-git
pkgver=0.0.8.224.0be8282
pkgrel=1
pkgdesc="lightweight port of 'nyancat lost in space'"
url="https://github.com/fanglingsu/nyancat-console/"
arch=('any')
license=('GPL3')
depends=('ncurses' )
makedepends=('git')
source=(${pkgname}::git+https://github.com/fanglingsu/nyancat-console)
sha256sums=('SKIP')


pkgver() {
  cd ${pkgname}
  printf "%s.%s.%s" "$(git describe --tags --abbrev=0|cut -dv -f2)" \
  "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build(){
  cd ${pkgname}
  make
 }

package() {
  cd ${pkgname}
  install -d "$pkgdir/usr/bin"
  make PREFIX="$pkgdir/usr/" install
}

# vim: ts=2 sw=2 et: