summaryrefslogtreecommitdiff
path: root/pcr/sl/PKGBUILD
diff options
context:
space:
mode:
authorAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-23 09:57:34 +0200
committerAurélien DESBRIÈRES <aurelien@hackers.camp>2014-06-23 09:57:34 +0200
commit6dd4589932cd786429956b9ae0224ef121eddbf1 (patch)
tree7704397f50df9e2f8891adc83455d15c99bbfc1c /pcr/sl/PKGBUILD
parentf421730e8999908f973a4f08549ce34f1af28e0b (diff)
downloadabslibre-6dd4589932cd786429956b9ae0224ef121eddbf1.tar.gz
abslibre-6dd4589932cd786429956b9ae0224ef121eddbf1.tar.bz2
abslibre-6dd4589932cd786429956b9ae0224ef121eddbf1.zip
sl Steam Locomotive runs accros your terminal when you type 'sl' as you meant to type 'ls'
Diffstat (limited to 'pcr/sl/PKGBUILD')
-rw-r--r--pcr/sl/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/pcr/sl/PKGBUILD b/pcr/sl/PKGBUILD
new file mode 100644
index 000000000..26e1345c5
--- /dev/null
+++ b/pcr/sl/PKGBUILD
@@ -0,0 +1,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: