diff options
author | Joshua Goins | 2022-03-30 13:34:08 -0400 |
---|---|---|
committer | Joshua Goins | 2022-03-30 13:34:08 -0400 |
commit | 834320c87bfb9b00222b21a543c9c172570930fe (patch) | |
tree | 81209485c30ec5b6efd0f239af8bd1d5ee8d0db6 | |
parent | fefe86b705363b853ef4bca915c3f2b36230557b (diff) | |
download | aur-834320c87bfb9b00222b21a543c9c172570930fe.tar.gz |
Handle libxiv submodule
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 13 |
2 files changed, 11 insertions, 6 deletions
@@ -1,6 +1,6 @@ pkgbase = astra-launcher-git pkgdesc = A cross-platform FFXIV launcher - pkgver = 0.3.1.beta.r25.gc460f2d + pkgver = 0.3.1.beta.r46.g7ee2e5a pkgrel = 1 url = https://git.sr.ht/~redstrate/astra arch = x86_64 @@ -14,6 +14,8 @@ pkgbase = astra-launcher-git provides = astra-launcher conflicts = astra-launcher source = astra-git::git+https://git.sr.ht/~redstrate/astra + source = libxiv-git::git+https://git.sr.ht/~redstrate/libxiv + md5sums = SKIP md5sums = SKIP pkgname = astra-launcher-git @@ -1,7 +1,7 @@ # Maintainer: redstrate <josh@redstrate.com> pkgname=astra-launcher-git -pkgver=0.3.1.beta.r25.gc460f2d +pkgver=0.3.1.beta.r46.g7ee2e5a pkgrel=1 pkgdesc="A cross-platform FFXIV launcher" arch=('x86_64') @@ -11,16 +11,19 @@ depends=('qt5-base' 'quazip-qt5' 'qtkeychain-qt5' 'libxcomposite') # this x11 de makedepends=('git' 'cmake') provides=('astra-launcher') conflicts=('astra-launcher') -source=('astra-git::git+https://git.sr.ht/~redstrate/astra') -md5sums=('SKIP') +source=('astra-git::git+https://git.sr.ht/~redstrate/astra' 'libxiv-git::git+https://git.sr.ht/~redstrate/libxiv') +md5sums=('SKIP' 'SKIP') pkgver() { - cd "astra-git" + cd "astra-git" git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' } build() { - cd "astra-git" + cd "astra-git" + git submodule init + git config submodule.'external/libxiv'.url "$srcdir/libxiv-git" + git submodule update cmake -DCMAKE_BUILD_TYPE=Release ./ cmake --build ./ } |