summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 79bbf9a66484a1da9be74022f0b31a15adc8d9c9 (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
# Maintainer: Ignacy Kuchcinski <ignacykuchcinski@gmail.com>
pkgname=cxxmatrix-git
pkgver=r56.69a73ed
pkgrel=1
pkgdesc="A C++ based scrolling Matrix digital rain along with other scenes."
arch=('x86_64')
url="https://github.com/akinomyoga/cxxmatrix"
license=('MIT')
conflicts=('cxxmatrix')
provides=('cxxmatrix')
depends=('gawk')
makedepends=('git')
source=("git+https://github.com/akinomyoga/cxxmatrix")
md5sums=('SKIP') #autofill using updpkgsums

pkgver() {
  cd "$srcdir/cxxmatrix"
  printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
  cd "cxxmatrix"
  make  
}

package() {
  cd "cxxmatrix"
  make PREFIX="$pkgdir/usr/" install
}