[arch-commits] Commit in sysvbanner/repos/community-x86_64 (4 files)
Felix Yan
felixonmars at archlinux.org
Thu Jun 7 06:05:44 UTC 2018
Date: Thursday, June 7, 2018 @ 06:05:44
Author: felixonmars
Revision: 341654
archrelease: copy trunk to community-x86_64
Added:
sysvbanner/repos/community-x86_64/01-man.patch
(from rev 341653, sysvbanner/trunk/01-man.patch)
sysvbanner/repos/community-x86_64/PKGBUILD
(from rev 341653, sysvbanner/trunk/PKGBUILD)
Deleted:
sysvbanner/repos/community-x86_64/PKGBUILD
sysvbanner/repos/community-x86_64/man.patch
--------------+
01-man.patch | 16 ++++++++++++
PKGBUILD | 72 +++++++++++++++++++++++++++++++++------------------------
man.patch | 16 ------------
3 files changed, 58 insertions(+), 46 deletions(-)
Copied: sysvbanner/repos/community-x86_64/01-man.patch (from rev 341653, sysvbanner/trunk/01-man.patch)
===================================================================
--- 01-man.patch (rev 0)
+++ 01-man.patch 2018-06-07 06:05:44 UTC (rev 341654)
@@ -0,0 +1,16 @@
+--- a/banner.1 2007-04-08 00:26:57.000000000 +0200
++++ b/banner.1 2011-12-01 04:16:43.677157180 +0100
+@@ -3,12 +3,10 @@
+ banner \- print large banner
+ .SH SYNOPSIS
+ .B banner
+-.I text
++.B [\fItext\fB]
+ .br
+ .SH "DESCRIPTION"
+ .B banner
+ prints out the first 10 characters of
+ .I text
+ in large letters.
+-.SH SEE ALSO
+-.BR banner "(6)."
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-06-07 06:05:26 UTC (rev 341653)
+++ PKGBUILD 2018-06-07 06:05:44 UTC (rev 341654)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
-
-pkgname=sysvbanner
-pkgver=1.0.15
-pkgrel=2
-pkgdesc='System-V banner clone'
-arch=('i686' 'x86_64')
-url='http://packages.qa.debian.org/s/sysvbanner.html'
-depends=('glibc')
-conflicts=('bsd-games')
-license=('custom')
-source=("http://ftp.debian.org/debian/pool/main/s/sysvbanner/${pkgname}_${pkgver}.tar.gz"
- 'man.patch')
-md5sums=('5a7bd216a42faa20bfd91268a77cc41d'
- '003aa4532e00c32f747dfba6566c094d')
-
-build() {
- cd $pkgname-$pkgver
- patch -p 1 < ../man.patch
- make
-}
-
-package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
- install -D -m444 "debian/copyright" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
-
-# vim:set ts=2 sw=2 et:
Copied: sysvbanner/repos/community-x86_64/PKGBUILD (from rev 341653, sysvbanner/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-06-07 06:05:44 UTC (rev 341654)
@@ -0,0 +1,42 @@
+# $Id$
+# Maintainer: Sébastien Luttringer <seblu at archlinux.org>
+
+pkgname=sysvbanner
+pkgver=1.0.15
+pkgrel=3
+pkgdesc='System-V banner clone'
+arch=('x86_64')
+url='http://packages.qa.debian.org/s/sysvbanner.html'
+depends=('glibc')
+conflicts=('bsd-games')
+license=('custom')
+source=("http://ftp.debian.org/debian/pool/main/s/sysvbanner/${pkgname}_${pkgver}.tar.gz"
+ '01-man.patch')
+sha512sums=('55987c3dbaf898e80476a08e755194480760a59b78eb879c3db11994b0ed6e11894ffc762a932ad0d95decf9dcb46dc9d905210788f1ce1dad14e00895654409'
+ '14255d0a35be028728095921e3153861cd296612ab790e213413cc7f4da7690f60451ea76952f7877c17538c13cb44da71f353278c06f3700845656c9d98d609')
+
+prepare() {
+ cd $pkgname-$pkgver
+ # apply patch from the source array (should be a pacman feature)
+ local filename
+ for filename in "${source[@]}"; do
+ if [[ "$filename" =~ \.patch$ ]]; then
+ msg2 "Applying patch ${filename##*/}"
+ patch -p1 -N -i "$srcdir/${filename##*/}"
+ fi
+ done
+ :
+}
+
+build() {
+ cd $pkgname-$pkgver
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+ install -D -m444 "debian/copyright" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
Deleted: man.patch
===================================================================
--- man.patch 2018-06-07 06:05:26 UTC (rev 341653)
+++ man.patch 2018-06-07 06:05:44 UTC (rev 341654)
@@ -1,16 +0,0 @@
---- a/banner.1 2007-04-08 00:26:57.000000000 +0200
-+++ b/banner.1 2011-12-01 04:16:43.677157180 +0100
-@@ -3,12 +3,10 @@
- banner \- print large banner
- .SH SYNOPSIS
- .B banner
--.I text
-+.B [\fItext\fB]
- .br
- .SH "DESCRIPTION"
- .B banner
- prints out the first 10 characters of
- .I text
- in large letters.
--.SH SEE ALSO
--.BR banner "(6)."
More information about the arch-commits
mailing list