[arch-commits] Commit in sl/repos/community-x86_64 (4 files)
Brett Cornwall
ainola at gemini.archlinux.org
Thu Feb 3 06:15:11 UTC 2022
Date: Thursday, February 3, 2022 @ 06:15:11
Author: ainola
Revision: 1124065
archrelease: copy trunk to community-x86_64
Added:
sl/repos/community-x86_64/PKGBUILD
(from rev 1124064, sl/trunk/PKGBUILD)
sl/repos/community-x86_64/system_ldflags.patch
(from rev 1124064, sl/trunk/system_ldflags.patch)
Deleted:
sl/repos/community-x86_64/PKGBUILD
sl/repos/community-x86_64/system_ldflags.patch
----------------------+
PKGBUILD | 82 ++++++++++++++++++++++++-------------------------
system_ldflags.patch | 34 ++++++++++----------
2 files changed, 58 insertions(+), 58 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-02-03 05:57:44 UTC (rev 1124064)
+++ PKGBUILD 2022-02-03 06:15:11 UTC (rev 1124065)
@@ -1,41 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Brett Cornwall <ainola at archlinux.org>
-# Contributor: Jakub Luzny <limoto94 at gmail.com>
-# Contributor: SanskritFritz (gmail)
-
-pkgname=sl
-pkgver=5.05
-pkgrel=2
-pkgdesc='Steam Locomotive runs across your terminal when you type "sl" as you meant to type "ls"'
-arch=('x86_64')
-# The original project: https://github.com/mtoyoda/sl
-# We use a slightly-less dead fork that contains useful patches, such as SIGINT support
-url="https://github.com/eyJhb/sl"
-license=('custom')
-depends=('ncurses')
-source=(
- "$pkgname-$pkgver.tar.gz::https://github.com/eyJhb/sl/archive/$pkgver.tar.gz"
- "system_ldflags.patch"
-)
-sha512sums=('4a57737a60c90a1eec2210ce7c28db937b46a5c35006bd1b5ff43d20ef617a004c49c2b2897ebc0fb8c57b6687fe933b2c9834f5800fdc0bf9912e07542a3b30'
- 'cf4592f1f1b2dfe431e8f993a9395900a6a05e6704ce2be32fddab74de8bede2a82c006b82496e50de3ba3c76bda978947f77f251ec41d9391b4db0479bf60c8')
-
-prepare() {
- cd "sl-$pkgver"
- patch < ../system_ldflags.patch
-}
-
-build() {
- cd "sl-$pkgver"
-
- make
- gzip -9 -f sl.1
-}
-
-package() {
- cd "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"
-}
Copied: sl/repos/community-x86_64/PKGBUILD (from rev 1124064, sl/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-02-03 06:15:11 UTC (rev 1124065)
@@ -0,0 +1,41 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: Jakub Luzny <limoto94 at gmail.com>
+# Contributor: SanskritFritz (gmail)
+
+pkgname=sl
+pkgver=5.05
+pkgrel=2
+pkgdesc='Steam Locomotive runs across your terminal when you type "sl" as you meant to type "ls"'
+arch=('x86_64')
+# The original project: https://github.com/mtoyoda/sl
+# We use a slightly-less dead fork that contains useful patches, such as SIGINT support
+url="https://github.com/eyJhb/sl"
+license=('custom')
+depends=('ncurses')
+source=(
+ "$pkgname-$pkgver.tar.gz::https://github.com/eyJhb/sl/archive/$pkgver.tar.gz"
+ "system_ldflags.patch"
+)
+sha512sums=('4a57737a60c90a1eec2210ce7c28db937b46a5c35006bd1b5ff43d20ef617a004c49c2b2897ebc0fb8c57b6687fe933b2c9834f5800fdc0bf9912e07542a3b30'
+ 'cf4592f1f1b2dfe431e8f993a9395900a6a05e6704ce2be32fddab74de8bede2a82c006b82496e50de3ba3c76bda978947f77f251ec41d9391b4db0479bf60c8')
+
+prepare() {
+ cd "sl-$pkgver"
+ patch < ../system_ldflags.patch
+}
+
+build() {
+ cd "sl-$pkgver"
+
+ make
+ gzip -9 -f sl.1
+}
+
+package() {
+ cd "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"
+}
Deleted: system_ldflags.patch
===================================================================
--- system_ldflags.patch 2022-02-03 05:57:44 UTC (rev 1124064)
+++ system_ldflags.patch 2022-02-03 06:15:11 UTC (rev 1124065)
@@ -1,17 +0,0 @@
---- Makefile 2022-02-02 20:30:23.352782993 -0800
-+++ Makefile 2022-02-02 20:33:32.503983729 -0800
-@@ -8,11 +8,12 @@
-
- CC=gcc
- CFLAGS=-O3 -Wall
-+LDFLAGS+=-lncurses
-
- all: sl
-
- sl: sl.c sl.h
-- $(CC) $(CFLAGS) -o sl sl.c -lncurses
-+ $(CC) $(CFLAGS) -o sl sl.c $(LDFLAGS)
-
- clean:
- rm -f sl
-
Copied: sl/repos/community-x86_64/system_ldflags.patch (from rev 1124064, sl/trunk/system_ldflags.patch)
===================================================================
--- system_ldflags.patch (rev 0)
+++ system_ldflags.patch 2022-02-03 06:15:11 UTC (rev 1124065)
@@ -0,0 +1,17 @@
+--- Makefile 2022-02-02 20:30:23.352782993 -0800
++++ Makefile 2022-02-02 20:33:32.503983729 -0800
+@@ -8,11 +8,12 @@
+
+ CC=gcc
+ CFLAGS=-O3 -Wall
++LDFLAGS+=-lncurses
+
+ all: sl
+
+ sl: sl.c sl.h
+- $(CC) $(CFLAGS) -o sl sl.c -lncurses
++ $(CC) $(CFLAGS) -o sl sl.c $(LDFLAGS)
+
+ clean:
+ rm -f sl
+
More information about the arch-commits
mailing list