smlinux/base/mandoc/smbuild
PktSurf 9d657e0a1d Upgraded base/perl to 5.38.0
Renamed .SMBuild files to smbuild for simplicity
Added musl-fts, musl-obstack, glslang, python-glad, libptytty, libmilter, elfutils and fuse to base section build list
Discarded fuse2 and fuse3 from base section
Temporarily discarded slapt-get, syslinux, p7zip, acpid, libelf-compat, gnu-eif, libtirpc, mozilla-nss,
lua53, qpdf, kernel-source and signify from base section build list
Disabled nls and made amends to base/e2fsprogs
Upgraded base/git to 2.46.2
Upgraded extra/gnumeric to 1.12.57
Disabled nls in base/gnutls, extra/dia
Disabled a patch and made amends in base/llvm
Fixed configure.local file in base/mandoc
Upgraded base/rust to 1.79
Fixed a ton of build files to use build prefix as /usr and miscellaneous changes
Discarded extra/bluez,blueman,scrcpy,adafruit-io
Added tomb to extra
Added new build option to extra/libass
Upgraded extra/mpv to 0.37.0
Disabled tests in gtk/gdk-pixbuf
Upgraded gtk/goffice to 0.10.57
Added gtk-doc to gtk section
Fixed build options in gtk/gtk2
Added new patches to gtk/gtk3
Added gtksourceview to gtk section
Added vulkan-headers to xorg section
Upgraded xorg/mesa to 23.1.9
Added libplacebo to xorg section
Fixed build stuff in xorg/glew
2024-10-29 20:25:20 +05:30

44 lines
1.7 KiB
Bash

# Maintainer: PktSurf <smlinux@pktsurf.in>
app=mandoc
version=1.14.5
build=1sml
homepage="https://mandoc.bsd.lv/"
download="https://mandoc.bsd.lv/snapshots/mandoc-$version.tar.gz"
desc="UNIX manpage compiler suite"
requires="less zlib"
prepbuilddir() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
applypatch $srcdir/main.c.patch
applypatch $srcdir/fix-tbl-segfault.patch
applypatch $srcdir/shared-libmandoc.patch
applypatch $srcdir/simplify-compat.patch
applypatch $srcdir/outdated-warn-disable.patch
}
build() {
cp $srcdir/configure.local configure.local
./configure --p
make
make DESTDIR=$pkg base-install lib-install
cp LICENSE $pkgdocs/
mkfinalpkg
}
sha512sums="
cba0c95ebb290cdc33767f8ffe338171c8494924a8bd919ca5626cc0bddbcece5bddf0399136652fbbedcfc96d8276cbf4597af56e37263a22eee756d2dca456 mandoc-1.14.5.tar.lz
0861027ece94c23395df3a235e8320a7353976df79d623a2fdbdd1673c5b745394726600a494d7403d52d18cefbdf9b3b9456b7f3813f8d9fe452a4c384f30e3 fix-tbl-segfault.patch
59eed3d6f6bba6a03cea86dac0cfae085b22aa42304be9671edd4f6e6751a939392977b64271bcfbd5e12052219df6b6be396f7ffdba3c450e16050213792654 main.c.patch
ced05e8b57fb9705c6d8d8570cd6b06ad187511a4c243ac2dbc34064aa164ca49e0c877160134161dcb98ebd5e61a5c23d5741f03ef95903ff56193dd07f36a1 outdated-warn-disable.patch
b1bd2c197584948cc8bab2310e759b8942b9f9479254ffb5a8223cfa6ba03c9e1a4d402c5440b8d9f962be9a020287d3dd8556592c17f2b46f15f405d9d373cb shared-libmandoc.patch
0979e8ee20d6163669f7ab3ace1f959ba9d831c208785c3522261c72ddc2f60ce8420ed36ea963c46a72b9ffdbcb9199da436b13e14c0ca4d938351d170adfa7 simplify-compat.patch
"