From 83f14a576d935bad81fe08737bc6b3565f70cc36 Mon Sep 17 00:00:00 2001 From: xhaa123 Date: Sat, 7 Sep 2024 23:18:11 +0800 Subject: [PATCH] groff 1.23.0-1 --- groff/PKGBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 groff/PKGBUILD diff --git a/groff/PKGBUILD b/groff/PKGBUILD new file mode 100644 index 0000000..9c5b529 --- /dev/null +++ b/groff/PKGBUILD @@ -0,0 +1,32 @@ +# 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=groff +pkgver=1.23.0 +pkgrel=1 +pkgdesc="GNU troff text-formatting system" +arch=('x86_64') +url="https://www.gnu.org/software/groff/" +license=('GPL-3.0-or-later') +groups=('base-devel') +depends=('perl' 'gcc-libs') +options=('!docs' '!emptydirs' '!makeflags') +source=(https://ftp.gnu.org/gnu/${pkgname}/${pkgname}-${pkgver}.tar.gz) +sha256sums=(6b9757f592b7518b4902eb6af7e54570bdccba37a871fddb2d30ae3863511c13) + +build() { + cd ${pkgname}-${pkgver} + + PAGE=A4 ${CONFIGURE} + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}