diff options
author | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-07-19 16:05:07 +0200 |
---|---|---|
committer | Erich Eckner <erich.eckner.ext@bestsecret.com> | 2024-07-19 16:05:07 +0200 |
commit | 6fd6c81e1942e20a83dc0e6b22fac6c663eaa0ee (patch) | |
tree | 9e4ddb910383389feb28f58fceba03e6e1dfaa64 /freeminer-git | |
parent | a6c3c48e9e6d627bb3cc66a119148ea48f1180d1 (diff) | |
download | archlinuxewe-6fd6c81e1942e20a83dc0e6b22fac6c663eaa0ee.tar.xz |
freeminer-git: clone the uppermost repo via makepkg
* this enables caching for it
* the submodules are still cloned in prepare(), because I was unable to make it quickly work when adding them to source=() - but it should be possible to do so
Diffstat (limited to 'freeminer-git')
-rw-r--r-- | freeminer-git/.gitignore | 1 | ||||
-rw-r--r-- | freeminer-git/PKGBUILD | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/freeminer-git/.gitignore b/freeminer-git/.gitignore new file mode 100644 index 000000000..c03627bd6 --- /dev/null +++ b/freeminer-git/.gitignore @@ -0,0 +1 @@ +freeminer diff --git a/freeminer-git/PKGBUILD b/freeminer-git/PKGBUILD index b47894a53..6ac0371ab 100644 --- a/freeminer-git/PKGBUILD +++ b/freeminer-git/PKGBUILD @@ -14,6 +14,8 @@ pkgrel=2 arch=('i686' 'pentium4' 'x86_64') url='https://freeminer.org/' license=('GPL3' 'CCPL:cc-by-sa-3.0') +source=("git+https://github.com/${_pkgbase}/${_pkgbase}") +sha256sums=('SKIP') makedepends=( 'leveldb' 'curl' 'git' 'hiredis' 'sqlite' 'libglvnd' 'libjpeg-turbo' 'libxi' 'luajit' @@ -21,9 +23,8 @@ makedepends=( ) prepare() { - cd "${srcdir}" - - git clone --recursive "https://github.com/${_pkgbase}/${_pkgbase}" + cd "${srcdir}/${_pkgbase}" + git submodule update --init --recursive # Create build directory mkdir -p "${srcdir}"/build-{client,server} |