diff options
author | Vladislav Nepogodin | 2023-06-04 02:18:50 +0400 |
---|---|---|
committer | Vladislav Nepogodin | 2023-06-04 02:18:50 +0400 |
commit | faac9b38bf342f0a3b20bf3fbab5d16c4b8817bc (patch) | |
tree | e3423147e99ac468fb1dc57de67d5e96bc83fa78 | |
parent | e87a7f9d23cc8901404bc49a9c47818ac19c0ea9 (diff) | |
download | aur-faac9b38bf342f0a3b20bf3fbab5d16c4b8817bc.tar.gz |
🚧 fix git submodule
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 16 |
2 files changed, 16 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = btop-git pkgdesc = A monitor of resources - pkgver = 1.0.18.r292.a0ee404 + pkgver = 1.2.13.r698.e269046 pkgrel = 1 url = https://github.com/aristocratos/btop arch = any @@ -12,6 +12,8 @@ pkgbase = btop-git conflicts = btop options = !strip source = btop-git::git+https://github.com/aristocratos/btop.git + source = git+https://github.com/fmtlib/fmt.git + sha512sums = SKIP sha512sums = SKIP pkgname = btop-git @@ -1,15 +1,17 @@ # Maintainer: Vladislav Nepogodin <nepogodin.vlad@gmail.com> pkgname=btop-git -pkgver=1.0.18.r292.a0ee404 +pkgver=1.2.13.r698.e269046 pkgrel=1 pkgdesc="A monitor of resources" arch=(any) url="https://github.com/aristocratos/btop" license=('Apache-2.0') makedepends=('gcc' 'make' 'git') -source=("${pkgname}::git+https://github.com/aristocratos/btop.git") -sha512sums=('SKIP') +source=("${pkgname}::git+https://github.com/aristocratos/btop.git" + "git+https://github.com/fmtlib/fmt.git") +sha512sums=('SKIP' + 'SKIP') provides=('btop') conflicts=('btop') options=(!strip) @@ -21,6 +23,14 @@ pkgver() { printf "${_pkgver}.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } +prepare() { + cd "${srcdir}/${pkgname}" + + git submodule init + git config submodule."lib/fmt".url "${srcdir}/fmt" + git -c protocol.file.allow=always submodule update +} + build() { cd "${pkgname}" |