Fix PKGBUILD

This commit is contained in:
Mario Hüttel 2022-04-17 00:45:49 +02:00
parent 9a43cd53f8
commit ab26f8a2af
1 changed files with 8 additions and 1 deletions

View File

@ -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