From ab26f8a2af339a3389615a323e198018b937bdbb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mario=20H=C3=BCttel?= Date: Sun, 17 Apr 2022 00:45:49 +0200 Subject: [PATCH] Fix PKGBUILD --- AUR/PKGBUILD | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/AUR/PKGBUILD b/AUR/PKGBUILD index 9b5c5eb..7e9077f 100644 --- a/AUR/PKGBUILD +++ b/AUR/PKGBUILD @@ -10,7 +10,7 @@ licence=('GPLv2') depends=('glib2' 'gtk3' 'cairo') makedepends=('cmake' 'git') privides=('gds-render') -source=("${pkgname}-git"::"git+https://git.shimatta.de/mhu/gds-render.git#recursive") +source=("${pkgname}-git"::"git+https://git.shimatta.de/mhu/gds-render.git#recursive" "https://git.shimatta.de/3rd-party/libfort.git") sha1sums=('SKIP') pkgver () { @@ -26,6 +26,13 @@ build () { make } +prepare () { + cd "${pkgname}-git" + git submodule init + git config submodule.libfort.url "$srcdir/libfort" + git submodule update +} + package () { cd "$srcdir/$pkgname-git/build" make DESTDIR="${pkgdir}" install