diff options
author | Sýlvan Heuser | 2019-03-10 16:14:18 +0100 |
---|---|---|
committer | Sýlvan Heuser | 2019-03-10 16:14:18 +0100 |
commit | e36055b021eaabea89d7f764c6f42f3b8ceaa7df (patch) | |
tree | d47852b31446c673099d1504fbcbbbfd7f8ce278 | |
parent | 0bf667bdabfe4d5d923a6c2713f743ef23aa6b0c (diff) | |
download | aur-e36055b021eaabea89d7f764c6f42f3b8ceaa7df.tar.gz |
libpurple-lurch-git: fix submodule issue
The upstream `.gitmodules` file specifies relative paths that can be
correctly resolved in a direct clone of the upstream GitHub repository,
but not in the local filesystem clone that makepkg does.
Thanks to eskimod <https://aur.archlinux.org/account/eskimod> for an elegant solution.
The `submodule sync` is skipped, as it should happen during the `init`
anyway and might overwrite local changes someone might want to add.
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 6 insertions, 5 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Thu Mar 2 21:32:41 UTC 2017 pkgbase = libpurple-lurch-git pkgdesc = Plugin for libpurple (Pidgin, Adium, etc) implementing OMEMO (using axolotl) - pkgver = r43.eac7db0 + pkgver = r117.3f74880 pkgrel = 1 url = https://github.com/gkdr/lurch arch = i686 @@ -20,4 +18,3 @@ pkgbase = libpurple-lurch-git sha256sums = SKIP pkgname = libpurple-lurch-git - @@ -1,8 +1,9 @@ +# Contributor: eskimod # Maintainer: Sýlvan Heuser <sylvan.heuser@gmx.net> pkgname=libpurple-lurch-git _pkgname=lurch -pkgver=r43.eac7db0 +pkgver=r117.3f74880 pkgrel=1 pkgdesc='Plugin for libpurple (Pidgin, Adium, etc) implementing OMEMO (using axolotl)' arch=('i686' 'x86_64') @@ -25,6 +26,9 @@ pkgver () { prepare() { cd "$srcdir/$_pkgname" msg2 "Getting submodules" + # .gitmodules specifies relative paths that don't resolve correctly on a local clone + git config --file=.gitmodules submodule."lib/axc".url "https://github.com/gkdr/axc" + git config --file=.gitmodules submodule."lib/libomemo".url "https://github.com/gkdr/libomemo" git submodule update --init --recursive } |