From 0631895390b95f48e617d4c7a4e2d00dc60a91b2 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Mon, 15 Apr 2024 01:07:28 +0800 Subject: [PATCH] man-pages 6.7-1 --- PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) create mode 100644 PKGBUILD diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..64ce344 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,43 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=man-pages +pkgver=6.7 +pkgrel=1 +pkgdesc="Linux man pages" +arch=('x86_64') +url="https://www.kernel.org/doc/man-pages" +license=('BSD-2-Clause' + 'BSD-3-Clause' + 'BSD-4.3TAHOE' + 'BSD-4-Clause-UC' + 'GPL-1.0-or-later' + 'GPL-2.0-only' + 'GPL-2.0-or-later' + 'LicenseRef-Public-Domain' + 'LicenseRef-UltraPermissive' + 'Linux-man-pages-1-para' + 'Linux-man-pages-copyleft' + 'Linux-man-pages-copyleft-2-para' + 'Linux-man-pages-copyleft-var' + 'MIT' + 'Spencer-94') +source=(https://www.kernel.org/pub/linux/docs/${pkgname}/${pkgname}-${pkgver}.tar.xz) +sha256sums=(82403ad4bc17aadb924f68638b79d6930b2cbd551531248a7a9688779db4efb2) + +prepare() { + cd ${pkgname}-${pkgver} + + rm -v man5/tzfile.5 + rm -v man8/{tzselect,zdump,zic}.8 + rm -v man3/crypt* +} + +package() { + cd ${pkgname}-${pkgver} + + make prefix=${pkgdir}/usr install +}