shishi: try to get it to build

This commit is contained in:
Christoph Reiter
2021-04-17 17:42:31 +02:00
parent e27c626303
commit db09861e83

View File

@@ -5,14 +5,19 @@ pkgbase=mingw-w64-${_realname}-git
pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}-git"
provides=("${MINGW_PACKAGE_PREFIX}-${_realname}")
conflicts=("${MINGW_PACKAGE_PREFIX}-${_realname}")
pkgver=r3586.6fa08895
pkgver=r3591.ffe64562
pkgrel=1
pkgdesc="a GNU implementation of the Kerberos 5 network security system (mingw-w64)"
arch=('any')
mingw_arch=('mingw32' 'mingw64' 'ucrt64')
url="https://www.gnu.org/software/shishi/"
license=("GPL")
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc" "${MINGW_PACKAGE_PREFIX}-gettext" "wget" "git")
makedepends=("${MINGW_PACKAGE_PREFIX}-gcc"
"${MINGW_PACKAGE_PREFIX}-gettext"
"${MINGW_PACKAGE_PREFIX}-gtk-doc"
"wget"
"git"
"gengetopt")
options=('strip' 'staticlibs')
depends=("${MINGW_PACKAGE_PREFIX}-gnutls"
"${MINGW_PACKAGE_PREFIX}-libidn"
@@ -20,7 +25,8 @@ depends=("${MINGW_PACKAGE_PREFIX}-gnutls"
"${MINGW_PACKAGE_PREFIX}-libgpg-error"
"${MINGW_PACKAGE_PREFIX}-libtasn1"
)
source=("${_realname}"::"git+https://git.savannah.gnu.org/git/shishi.git"
_commit="ffe645623b0f685e14b12a7a1939f708a5cf6039"
source=("${_realname}"::"git+https://git.savannah.gnu.org/git/shishi.git#commit=${_commit}"
"003-no-shishid.patch"
"004-fix-download-po.patch"
)
@@ -30,7 +36,7 @@ sha256sums=('SKIP'
pkgver() {
cd "${srcdir}/${_realname}"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
printf "r%s.%s" "$(git rev-list --count "${_commit}")" "$(git rev-parse --short "${_commit}")"
}
prepare() {
@@ -38,8 +44,10 @@ prepare() {
patch -p1 -i ${srcdir}/003-no-shishid.patch
patch -p1 -i ${srcdir}/004-fix-download-po.patch
WANT_AUTOMAKE=latest autoreconf -fi
make update-po
autoreconf -fi
# gettext build is broken..
echo "" > po/LINGUAS
}
build() {