New package: got-0.70

This commit is contained in:
Omar Polo 2022-05-02 16:31:36 +00:00 committed by Leah Neukirchen
parent b2e6cfc150
commit fbc6fcdfcf
2 changed files with 41 additions and 0 deletions

View File

@ -0,0 +1,18 @@
--- got-portable-0.69/configure.ac.orig
+++ got-portable-0.69/configure.ac
@@ -204,6 +204,7 @@
[return (reallocarray(NULL, 1, 1) == NULL);]
)],
AC_MSG_RESULT(yes),
+ [AC_LIBOBJ(reallocarray) AC_MSG_RESULT([no])],
[AC_LIBOBJ(reallocarray) AC_MSG_RESULT([no])]
)
AC_MSG_CHECKING([for working recallocarray])
@@ -212,6 +213,7 @@
[return (recallocarray(NULL, 1, 1, 1) == NULL);]
)],
AC_MSG_RESULT(yes),
+ [AC_LIBOBJ(recallocarray) AC_MSG_RESULT([no])],
[AC_LIBOBJ(recallocarray) AC_MSG_RESULT([no])]
)

23
srcpkgs/got/template Normal file
View File

@ -0,0 +1,23 @@
# Template file for 'got'
pkgname=got
version=0.70
revision=1
wrksrc=got-portable-${version}
build_style=gnu-configure
hostmakedepends="automake byacc pkg-config"
makedepends="libmd-devel zlib-devel libuuid-devel libbsd-devel ncurses-devel openssl-devel"
short_desc="VCS which prioritizes ease of use and simplicity over flexibility"
maintainer="Omar Polo <op@omarpolo.com>"
license="ISC"
homepage="https://gameoftrees.org"
distfiles="https://gameoftrees.org/releases/portable/got-portable-${version}.tar.gz"
checksum="2e534ed89f794a61543e6d2cb306903ea04f93977ed241004585c6b85e8b074e"
pre_configure() {
autoreconf -fi
}
post_install() {
sed -n '/Copyright/,/PERFORMANCE/p' got/got.c > LICENSE
vlicense LICENSE
}