* update mandoc to 1.14.6-2

This commit is contained in:
Alexander Baldeck 2023-07-05 21:57:36 +02:00
parent e090579979
commit 0f388fc333
2 changed files with 14 additions and 10 deletions

View File

@ -1,19 +1,21 @@
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
# Maintainer: Caleb Maclennan <caleb@alerque.com>
# Maintainer: T.J. Townsend <blakkheim@archlinux.org>
# Contributor: Eli Schwartz <eschwartz@archlinux.org>
# Contributor: Jakub Klinkovský <j.l.k@gmx.com>
# Contributor: Matheus de Alcantara <matheus.de.alcantara@gmail.com>
pkgname=mandoc
pkgver=1.14.6
pkgrel=1
pkgrel=2
pkgdesc='A suite of tools compiling mdoc from the OpenBSD project'
arch=(x86_64 powerpc64le powerpc riscv64)
url='https://mdocml.bsd.lv/'
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
url='https://mdocml.bsd.lv'
license=('ISC')
depends=('zlib')
provides=('man')
conflicts=('man')
options=(!distcc)
source=("${url}/snapshots/${pkgname}-${pkgver}.tar.gz"
'configure.local'
'mandoc.service'
@ -21,16 +23,15 @@ source=("${url}/snapshots/${pkgname}-${pkgver}.tar.gz"
sha256sums=('8bf0d570f01e70a6e124884088870cbed7537f36328d512909eb10cd53179d9c'
'383772d5dd7c51319588ac4b63d4e7c452490568f6a3e905d118fdd6c4aa8a68'
'2091411d5f87a3c371a5ba74b4773d1e454046446fa2cb045485979e52419bb6'
'74d6a02b97a17fffddcc0a3dc830e811348b1f6c6b84f867882c776d50f00ea4')
'6b8df810386c581800074adb89c17c7e22dc5784e71e6069ebb039183b59df83')
prepare() {
cd "${srcdir}"/${pkgname}-${pkgver}
cd ${pkgname}-${pkgver}
cp ../configure.local .
}
build() {
cd "${srcdir}"/${pkgname}-${pkgver}
cd ${pkgname}-${pkgver}
# apply CFLAGS and LDFLAGS from makepkg.conf
{
@ -43,13 +44,13 @@ build() {
}
package() {
cd "${srcdir}"/${pkgname}-${pkgver}
cd ${pkgname}-${pkgver}
DESTDIR="${pkgdir}" make install
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
install -Dm644 "${srcdir}"/mandoc.timer "${pkgdir}"/usr/lib/systemd/system/mandoc.timer
install -Dm644 "${srcdir}"/mandoc.service "${pkgdir}"/usr/lib/systemd/system/mandoc.service
install -dm755 "${pkgdir}"/usr/lib/systemd/system/multi-user.target.wants
ln -s ../mandoc.timer "${pkgdir}"/usr/lib/systemd/system/multi-user.target.wants/mandoc.timer
install -dm755 "${pkgdir}"/usr/lib/systemd/system/timers.target.wants
ln -s ../mandoc.timer "${pkgdir}"/usr/lib/systemd/system/timers.target.wants/mandoc.timer
}

View File

@ -5,3 +5,6 @@ Description=Daily manpage database update
OnCalendar=daily
AccuracySec=12h
Persistent=true
[Install]
WantedBy=timers.target