summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 3f8bfa33f765820ae9b788577afb55ee4923126f (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
34
35
36
# Maintainer: katoitalia

pkgname=neo-matrix-git
pkgver=r20.28cddfa
pkgrel=3
pkgdesc='Simulates the digital rain from "The Matrix" (cmatrix clone with 32-bit color and Unicode support)'
arch=(x86_64 i686 i486 pentium4 arm armv6h armv7h aarch64)
url='https://github.com/st3w/neo'
license=('GPL3')
depends=('ncurses' 'ttf-hanazono')
makedepends=('git' 'autoconf-archive')
provides=('neo-matrix')
conflicts=('neo-matrix')
source=("git+https://github.com/st3w/neo.git")
md5sums=('SKIP')

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

prepare() {
  cd "${srcdir}/neo"
  ./autogen.sh
}

build() {
  cd "${srcdir}/neo"
  ./configure
  make
}

package() {
  cd "${srcdir}/neo"
  install -Dm755 "${srcdir}/neo/src/neo" "${pkgdir}/usr/bin/neo-matrix"
}