summaryrefslogtreecommitdiff
path: root/freeminer-git/PKGBUILD
diff options
context:
space:
mode:
authorErich Eckner <erich.eckner.ext@bestsecret.com>2024-07-19 16:05:07 +0200
committerErich Eckner <erich.eckner.ext@bestsecret.com>2024-07-19 16:05:07 +0200
commit6fd6c81e1942e20a83dc0e6b22fac6c663eaa0ee (patch)
tree9e4ddb910383389feb28f58fceba03e6e1dfaa64 /freeminer-git/PKGBUILD
parenta6c3c48e9e6d627bb3cc66a119148ea48f1180d1 (diff)
downloadarchlinuxewe-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/PKGBUILD')
-rw-r--r--freeminer-git/PKGBUILD7
1 files changed, 4 insertions, 3 deletions
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}