summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 171891525eb63bca6ab0637e509826b65f10b4b9 (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: BeyondMagic <koetemagie@gmail.com>
pkgname=nincat-git
pkgver=7.0
pkgrel=1
pkgdesc="This a simple, lightweight and fast script that loads an ASCII art that fits on your terminal."
arch=(any)
url="https://github.com/ninecath/nincat"
license=('GPL3')
makedepends=(git)
checkdepends=(coreutils)
optdepends=(c-lolcat)
provides=(nincat)
conflicts=(nincat)
source=("$pkgname::git+$url")
md5sums=('SKIP')

pkgver() {
  cd nincat-git
  printf "$pkgver" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
  cd nincat-git
  install -d $pkgdir/usr/bin
  make DESTDIR="$pkgdir/usr/" install
  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  install -Dm644 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
}