summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro A. López-Valencia2019-08-05 13:44:36 -0500
committerPedro A. López-Valencia2019-08-05 13:44:36 -0500
commit192ae2c1af9cfdc4286f1910602b0fd5b94c3f3a (patch)
tree33efaddd78f9d84c6c830e6a3e69c82172cd09b1
parent90247f13d7da86d19c92157089202d411360243d (diff)
downloadaur-192ae2c1af9cfdc4286f1910602b0fd5b94c3f3a.tar.gz
Raise packaging quality.
-rw-r--r--.SRCINFO18
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD31
-rw-r--r--groff-git.install22
4 files changed, 24 insertions, 48 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a225faca809..ae876dde519 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,28 +1,26 @@
pkgbase = groff-git
pkgdesc = GNU Troff. Official git trunk.
- pkgver = 1.22.4.10.g68a34636
+ pkgver = 1.22.4.37.gee0ce46b
pkgrel = 1
url = http://www.gnu.org/software/groff/
- install = groff-git.install
arch = i686
arch = x86_64
license = GPL
makedepends = git
- makedepends = netpbm
- makedepends = psutils
- makedepends = ghostscript
makedepends = libxaw
depends = uchardet
- optdepends = netpbm: Enable grohtml image processing.
- optdepends = psutils: Enable postscript file transformation.
- optdepends = ghostscript: Enable grohtml image and gropdf PDF file creation.
+ depends = netpbm
+ depends = psutils
+ depends = ghostscript
optdepends = libxaw: Enable gxditvew.
provides = groff
conflicts = groff
source = groff-git::git://git.savannah.gnu.org/groff.git
+ source = gnulib-git::git://git.sv.gnu.org/gnulib.git
source = site.tmac
- sha384sums = SKIP
- sha384sums = 393a4e1b807ab3f77e0ceb10c0c844b130720b65a46e561187e5a59268e1dce04c0d54ca5271f171dc2af62501197a19
+ sha256sums = SKIP
+ sha256sums = SKIP
+ sha256sums = af59ecde597ce9f8189368a7739279a5f8a391139fe048ef6b4e493ed46e5f5f
pkgname = groff-git
diff --git a/.gitignore b/.gitignore
index 523cf911834..5116a759041 100644
--- a/.gitignore
+++ b/.gitignore
@@ -13,3 +13,4 @@ src/
*.jar
*.zip
groff-git
+gnulib-git
diff --git a/PKGBUILD b/PKGBUILD
index 64c3cc6dece..bb36a204f8d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,23 @@
-# Maintainer: See AUR interface for current maintainer and contact information.
+# Maintainer: Pedro A. López-Valencia <https://aur.archlinux.org/users/vorbote>
pkgname=groff-git
-pkgver=1.22.4.10.g68a34636
+pkgver=1.22.4.37.gee0ce46b
pkgrel=1
pkgdesc="GNU Troff. Official git trunk."
arch=('i686' 'x86_64')
url="http://www.gnu.org/software/groff/"
license=('GPL')
-depends=('uchardet')
-makedepends=('git' 'netpbm' 'psutils' 'ghostscript' 'libxaw')
+depends=('uchardet' 'netpbm' 'psutils' 'ghostscript')
+makedepends=('git' 'libxaw')
conflicts=('groff')
provides=('groff')
-install="$pkgname".install
source=("$pkgname::git://git.savannah.gnu.org/groff.git"
-#source=("$pkgname::git+http://git.savannah.gnu.org/r/groff.git"
- 'site.tmac')
-optdepends=('netpbm: Enable grohtml image processing.'
- 'psutils: Enable postscript file transformation.'
- 'ghostscript: Enable grohtml image and gropdf PDF file creation.'
- 'libxaw: Enable gxditvew.')
-sha384sums=('SKIP'
- '393a4e1b807ab3f77e0ceb10c0c844b130720b65a46e561187e5a59268e1dce04c0d54ca5271f171dc2af62501197a19')
+ "gnulib-git::git://git.sv.gnu.org/gnulib.git"
+ 'site.tmac')
+optdepends=('libxaw: Enable gxditvew.')
+sha256sums=('SKIP'
+ 'SKIP'
+ 'af59ecde597ce9f8189368a7739279a5f8a391139fe048ef6b4e493ed46e5f5f')
pkgver() {
cd "$srcdir/$pkgname"
@@ -30,7 +27,8 @@ pkgver() {
prepare() {
cd "$srcdir/$pkgname"
- ./bootstrap
+ sed -i.bak -e "s/\[2\.62\]/\[2\.63\]/" configure.ac
+ ./bootstrap --gnulib-srcdir="$srcdir"/gnulib-git --bootstrap-sync --no-git
}
build() {
@@ -62,7 +60,7 @@ package() {
if [[ ${LANG/en_US} ]] || [[ ${LANG/es_CO} ]]; then
make DESTDIR="$pkgdir/" PAPER=letter install
else
- make DESTDIR="$pkgdir/" install
+ make DESTDIR="$pkgdir/" PAPER=A4 install
fi
## Copypaste from core package's PKGBUILD...
@@ -75,7 +73,8 @@ package() {
# FS33760 - TERMCAP variables not followed
# TODO: everyone is doing this - find out why upstream does not...
#
- # Having being privy the whole thing longer than 10 years ago... Blech! V.
+ # Having being privy to the whole thing since 2003, I wonder why people
+ # still stick to this. Blech! Vorbote.
#
cat $srcdir/site.tmac >> \
$pkgdir/usr/share/groff/site-tmac/man.local
diff --git a/groff-git.install b/groff-git.install
deleted file mode 100644
index 5098fd7b595..00000000000
--- a/groff-git.install
+++ /dev/null
@@ -1,22 +0,0 @@
-infodir=/usr/share/info
-filelist=(groff.info groff.info-1 groff.info-2)
-
-post_install() {
- [[ -x usr/bin/install-info ]] || return 0
- for file in ${filelist[@]}; do
- install-info $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
-post_upgrade() {
- post_install $1
-}
-
-pre_remove() {
- [[ -x usr/bin/install-info ]] || return 0
- for file in ${filelist[@]}; do
- install-info --delete $infodir/$file $infodir/dir 2> /dev/null
- done
-}
-
-# vim:set ts=2 sw=2 et: