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