[arch-commits] Commit in sl/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 17:40:51 UTC 2020


    Date: Tuesday, July 7, 2020 @ 17:40:51
  Author: felixonmars
Revision: 659834

archrelease: copy trunk to community-staging-x86_64

Added:
  sl/repos/community-staging-x86_64/
  sl/repos/community-staging-x86_64/PKGBUILD
    (from rev 659833, sl/trunk/PKGBUILD)

----------+
 PKGBUILD |   31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)

Copied: sl/repos/community-staging-x86_64/PKGBUILD (from rev 659833, sl/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 17:40:51 UTC (rev 659834)
@@ -0,0 +1,31 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Jakub Luzny <limoto94 at gmail.com>
+# Contributor: SanskritFritz (gmail)
+
+pkgname=sl
+pkgver=5.02
+pkgrel=6
+pkgdesc='Steam Locomotive runs across your terminal when you type "sl" as you meant to type "ls".'
+arch=('x86_64')
+url="http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html"
+license=('custom')
+depends=('ncurses')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mtoyoda/sl/archive/$pkgver.tar.gz")
+sha512sums=('a4d18bc79d7e0eca7748b10226a6b2a85a7a01d636e4e9215bf524a7849bc5cb250034326e5a69f7423d79e40b92182fddc0e56e25df616edae06369c782cb26')
+
+build() {
+	cd "$srcdir/sl-$pkgver"
+
+	cc $CFLAGS -o sl sl.c -lcurses
+	gzip -9 -f sl.1
+}
+
+package() {
+	cd "$srcdir/sl-$pkgver"
+
+	install -Dm 775 sl "$pkgdir/usr/bin/sl"
+	install -Dm 644 sl.1.gz "$pkgdir/usr/share/man/man1/sl.1.gz"
+  install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list