blob: 2eaeb150f5c3518853e98e2706e17a9340df38e7 (
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
37
38
39
40
41
42
43
44
45
|
# Maintainer: Benjamin Levy <blevy@protonmail.com>
pkgname=cmatrix-git
pkgver=1.2.r110.g3112b12
pkgrel=1
pkgdesc="A curses-based scrolling 'Matrix'-like screen"
arch=('x86_64')
url="http://www.asty.org/cmatrix/"
license=('GPL3')
depends=('ncurses')
makedepends=('fontconfig' 'git')
optdepends=('fontconfig: custom font')
conflicts=('cmatrix')
provides=('cmatrix')
source=("git+https://github.com/abishekvashok/cmatrix")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/cmatrix"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "cmatrix"
autoreconf -i
CPPFLAGS="-D_FORTIFY_SOURCE=0" ./configure \
--prefix=/usr --mandir=/usr/share/man
make
}
package() {
cd "cmatrix"
install -d "$pkgdir/usr/share/fonts/misc/"
install -d "$pkgdir/usr/share/kbd/consolefonts/"
make DESTDIR="$pkgdir" install
rm -f "$pkgdir/usr/share/fonts/misc/fonts.dir"
for i in AUTHORS NEWS COPYING README ChangeLog INSTALL; do
install -Dm644 $i "$pkgdir/usr/share/doc/cmatrix/$i"
done
}
|