From 83ceeb376cde0130055ae8407d4cc84141637f30 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Sat, 7 Sep 2024 23:18:11 +0800 Subject: [PATCH] man-pages 6.9.1-1 --- man-pages/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100644 man-pages/PKGBUILD diff --git a/man-pages/PKGBUILD b/man-pages/PKGBUILD new file mode 100644 index 0000000..9452519 --- /dev/null +++ b/man-pages/PKGBUILD @@ -0,0 +1,45 @@ +# 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.9.1 +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=(e23cbac29f110ba571f0da8523e79d373691466ed7f2a31301721817d34530bd) + +prepare() { + cd ${pkgname}-${pkgver} + + # included in tzdata + 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 +}