upg groff
This commit is contained in:
parent
20a689da52
commit
09d3e86f3c
4 changed files with 45 additions and 12 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgname=groff
|
||||
pkgver=1.23.0
|
||||
pkgrel=05
|
||||
pkgrel=06
|
||||
pkgdesc='GNU troff text-formatting system'
|
||||
url='https://www.gnu.org/software/groff/groff.html'
|
||||
groups=( jobbot )
|
||||
|
@ -65,13 +65,14 @@ package() {
|
|||
|
||||
arch=(x86_64)
|
||||
|
||||
license=('GPL')
|
||||
license=('GPL-3.0-or-later')
|
||||
|
||||
validpgpkeys=('2D0C08D2B0AD0D3D8626670272D23FBAC99D4E75') # Bertrand Garrigues <bertrand.garrigues@laposte.net>
|
||||
|
||||
sha256sums=(6b9757f592b7518b4902eb6af7e54570bdccba37a871fddb2d30ae3863511c13 # groff-1.23.0.tar.gz
|
||||
7ec23a8550fba8d942da06b1f84a090d80538ac062e8c73de6a4ad7a4f69e09f # groff-1.23.0.tar.gz.sig
|
||||
489bb32bbd1c7bced33bf187611219527914ae46ce05238fe80dc11c4b1bb909 # display-utc-times.patch
|
||||
cbcfe19bc1271b91e2c3bb8864813118863a3d8d10e6ca341f82c0ca5dc37dff) # site.tmac
|
||||
fa6ad35f27caaf285a26b1ee87607643552e4c02a641b58a6034b0d153eb920f) # site.tmac
|
||||
|
||||
## 66ead0890bedf35b654a9f086bc42f57484770adc38aba5efdc3dd8a42569cf1 groff-1.23.0-06-x86_64.pkg.tar.lz
|
||||
|
||||
## 38dc02cfe44f976db07f406be11d491239d83c0854d49d0e5b6048e61f3e9f44 groff-1.23.0-05-x86_64.pkg.tar.lz
|
||||
|
|
|
@ -2,11 +2,11 @@
|
|||
|
||||
pkgname=groff
|
||||
pkgver=1.23.0
|
||||
pkgrel=5
|
||||
pkgrel=6
|
||||
pkgdesc='GNU troff text-formatting system'
|
||||
arch=('x86_64')
|
||||
url='https://www.gnu.org/software/groff/groff.html'
|
||||
license=('GPL')
|
||||
license=('GPL-3.0-or-later')
|
||||
depends=('perl' 'gcc-libs')
|
||||
makedepends=('netpbm' 'psutils' 'libxaw' 'perl-file-homedir')
|
||||
optdepends=('netpbm: for use together with man -H command interaction in browsers'
|
||||
|
@ -21,7 +21,7 @@ source=("https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.sig}
|
|||
sha256sums=('6b9757f592b7518b4902eb6af7e54570bdccba37a871fddb2d30ae3863511c13'
|
||||
'SKIP'
|
||||
'489bb32bbd1c7bced33bf187611219527914ae46ce05238fe80dc11c4b1bb909'
|
||||
'cbcfe19bc1271b91e2c3bb8864813118863a3d8d10e6ca341f82c0ca5dc37dff')
|
||||
'fa6ad35f27caaf285a26b1ee87607643552e4c02a641b58a6034b0d153eb920f')
|
||||
|
||||
prepare() {
|
||||
cd $pkgname-$pkgver
|
||||
|
@ -59,7 +59,3 @@ package() {
|
|||
cat "$srcdir"/site.tmac >> \
|
||||
"$pkgdir"/usr/share/groff/site-tmac/mdoc.local
|
||||
}
|
||||
sha256sums=('6b9757f592b7518b4902eb6af7e54570bdccba37a871fddb2d30ae3863511c13'
|
||||
'SKIP'
|
||||
'489bb32bbd1c7bced33bf187611219527914ae46ce05238fe80dc11c4b1bb909'
|
||||
'94f28b32775bcfebf1a50231a2df9791a194d571c1651b465d4875bdea181f96')
|
||||
|
|
|
@ -7,6 +7,14 @@
|
|||
. \" if '\*[.T]'utf8' \
|
||||
. \" char - \[hy]
|
||||
.
|
||||
. \" Character translations for non-keyboard
|
||||
. \" characters - to make them searchable
|
||||
. if '\*[.T]'utf8' \{\
|
||||
. char \- \N'45'
|
||||
. char - \N'45'
|
||||
. char ' \N'39'
|
||||
. \}
|
||||
.
|
||||
. \" groff 1.23.0 changed the "utf8" device to render "^" and "~"
|
||||
. \" as U+02C6 and U+02DC respectively. This is likely to cause
|
||||
. \" considerable disruption in manual pages, so preserve the old
|
||||
|
@ -26,4 +34,3 @@
|
|||
. char \- \N'45'
|
||||
. \}
|
||||
.\}
|
||||
|
||||
|
|
29
groff/site.tmac.2
Normal file
29
groff/site.tmac.2
Normal file
|
@ -0,0 +1,29 @@
|
|||
.
|
||||
.if n \{\
|
||||
. \" Strictly, "-" is a hyphen while "\-" is a minus sign, and the
|
||||
. \" former may not always be rendered in the form expected for things like
|
||||
. \" command-line options. Uncomment this if you want to make sure that
|
||||
. \" manual pages you're writing are clear of this problem.
|
||||
. \" if '\*[.T]'utf8' \
|
||||
. \" char - \[hy]
|
||||
.
|
||||
. \" groff 1.23.0 changed the "utf8" device to render "^" and "~"
|
||||
. \" as U+02C6 and U+02DC respectively. This is likely to cause
|
||||
. \" considerable disruption in manual pages, so preserve the old
|
||||
. \" behaviour, at least for now.
|
||||
. if '\*[.T]'utf8' \{\
|
||||
. char ^ \[ha]
|
||||
. char ~ \[ti]
|
||||
. \}
|
||||
.
|
||||
. \" "\-" is more commonly used for option dashes than for minus
|
||||
. \" signs in manual pages, so map it to plain "-" for HTML/XHTML output
|
||||
. \" rather than letting it be rendered as "−".
|
||||
. ie '\*[.T]'html' \
|
||||
. char \- \N'45'
|
||||
. el \{\
|
||||
. if '\*[.T]'xhtml' \
|
||||
. char \- \N'45'
|
||||
. \}
|
||||
.\}
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue