summaryrefslogtreecommitdiff
path: root/pcr/sl/PKGBUILD
blob: 26e1345c597dd7a64634fdd06190c49ef897e9e2 (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
# Contributor (Arch)     : Jakub Luzny <limoto94@gmail.com>
# Contributor (Arch)     : SanskritFritz (gmail)
# Maintainer  (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>

pkgname=sl
pkgver=5.01
pkgrel=1
pkgdesc='Steam Locomotive runs across your terminal when you type "sl" as you meant to type "ls"'
arch=('i686' 'x86_64' 'arm')
url="http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html"
license=('free')
depends=('ncurses')
makedepends=('git')
source=("git://github.com/mtoyoda/sl.git")
md5sums=('SKIP')

build() {
	cd "$srcdir/sl"

	cc $CFLAGS -o sl sl.c -lcurses
	gzip -9 -f sl.1
}

package() {
	cd "${srcdir}/sl"

	install -Dm 775 sl "$pkgdir/usr/bin/sl"
	install -Dm 644 sl.1.gz "$pkgdir/usr/share/man/man1/sl.1.gz"
}

#category: games
# vim:set ts=2 sw=2 et: