aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2020-07-12 00:08:35 +0300
committerLeo <thinkabit.ukim@gmail.com>2020-07-11 21:36:44 +0000
commit27f0e2e3908061fab9ed8eede88a1dbe9571db38 (patch)
tree373fbe15dad04806e5aab462bf257038cdc2d7bd
parentfa5b4c247dced2d2ce1c8671589d6942653eb594 (diff)
downloadaports-27f0e2e3908061fab9ed8eede88a1dbe9571db38.tar.gz
aports-27f0e2e3908061fab9ed8eede88a1dbe9571db38.tar.bz2
aports-27f0e2e3908061fab9ed8eede88a1dbe9571db38.tar.xz
main/txt2man: upgrade to 1.7.1, modernize
-rw-r--r--main/txt2man/APKBUILD15
-rw-r--r--main/txt2man/makefile.patch10
2 files changed, 10 insertions, 15 deletions
diff --git a/main/txt2man/APKBUILD b/main/txt2man/APKBUILD
index e183cfc3d0..890fe25f59 100644
--- a/main/txt2man/APKBUILD
+++ b/main/txt2man/APKBUILD
@@ -1,27 +1,22 @@
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=txt2man
-pkgver=1.6.0
+pkgver=1.7.1
pkgrel=0
pkgdesc="Convert flat ASCII text to man page format"
url="https://github.com/mvertes/txt2man"
arch="noarch"
license="GPL-2.0-or-later"
depends="gawk"
-makedepends=
subpackages="$pkgname-doc"
-source="$pkgname-$pkgver.tar.gz::https://github.com/mvertes/$pkgname/archive/$pkgname-$pkgver.tar.gz
+source="https://github.com/mvertes/$pkgname/archive/$pkgname-$pkgver.tar.gz
makefile.patch"
builddir="$srcdir/$pkgname-$pkgname-$pkgver"
package() {
- make -C "$builddir" \
- DESTDIR="$pkgdir" \
- prefix=/usr \
- mandir=/usr/share/man \
- install || return 1
+ make DESTDIR="$pkgdir" prefix=/usr mandir=/usr/share/man install
}
-sha512sums="7ec2cc0bb685d890cf06504d4faacf7a02c5a321963effb71ff63b7310f64f092e666c055c1dbdb699958a62272fe4dc0f31f3947ca6895aa425753a11b75379 txt2man-1.6.0.tar.gz
-e91ad93ddd646b06cb75c26e666e5122934172d25513424f04b9f56ce9cd57f1327f9c53c3d59002d76765c272aced5d75e0b48318d3b82d447560c3a031ef58 makefile.patch"
+sha512sums="550b1d30a4435f35d03920d89f5f2adc2a937de7575c4ddc51ee9f4fe370975b45e51f5aec0eb865ead4b16d88ad31f3150cd3235362b1fc7e6d7b3c6233852a txt2man-1.7.1.tar.gz
+c8b702902b2b49d374d5dbe726862fc2c8cb37d36bfca27aae6dceeefc2e351d760ce7482a4f34f867f3eb2eb176c08828e89eefb7c9297487f6cefb2f8eec8a makefile.patch"
diff --git a/main/txt2man/makefile.patch b/main/txt2man/makefile.patch
index 47e99e4421..a8076f94ab 100644
--- a/main/txt2man/makefile.patch
+++ b/main/txt2man/makefile.patch
@@ -1,14 +1,14 @@
---- ./Makefile.orig
-+++ ./Makefile
+--- a/Makefile
++++ b/Makefile
@@ -1,5 +1,7 @@
# Makefile
prefix ?= /usr/local
+bindir ?= $(prefix)/bin
+mandir ?= $(prefix)/share/man
- version = txt2man-1.6.0
+ version = txt2man-1.7.1
+ date = 2020-06-28
BIN = src2man bookman txt2man
- MAN1 = src2man.1 txt2man.1 bookman.1
-@@ -7,9 +9,9 @@
+@@ -8,9 +10,9 @@
all: $(MAN1)
install: $(MAN1)