33 lines
864 B
Bash
33 lines
864 B
Bash
# 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 <future_linux@163.com>
|
|
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
|
|
}
|