Skip to content

Commit

Permalink
jj: update to 0.17.0 (#20822)
Browse files Browse the repository at this point in the history
* jj: update to 0.17.0

* jj-docs: no dependencies
  • Loading branch information
ognevny authored May 6, 2024
1 parent 2669e57 commit 9c595f3
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions mingw-w64-jj/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ _realname=jj
pkgbase=mingw-w64-${_realname}
pkgname=("${MINGW_PACKAGE_PREFIX}-${_realname}"
"${MINGW_PACKAGE_PREFIX}-${_realname}-docs")
pkgver=0.16.0
pkgver=0.17.0
pkgrel=1
pkgdesc="Jujutsu (an experimental VCS) (mingw-w64)"
arch=('any')
Expand All @@ -26,7 +26,7 @@ depends=("${MINGW_PACKAGE_PREFIX}-libgit2"
source=("${url}/archive/v${pkgver}/${_realname}-${pkgver}.tar.gz"
"0001-link-sys-libs-dynamically.patch"
"0002-remove-unneded-features.patch")
sha256sums=('e6094982c8e5902c33b0505bbb0e4e4c35c249f2a36108655002dc7d06de7d4a'
sha256sums=('855c78912fc8ae22ec96de926605ac2bc4bbdb48c572a7a7fe386e8fb9aa0bb1'
'be42ae14429b7c2b0f902ba946756a8ab3c5acddb5993613a9c67e0471377129'
'ded353fbd4ba25c4b6ae551491abec2cf7d99896e24cede836c9a285073c4ee8')

Expand All @@ -41,14 +41,8 @@ _env() {
prepare() {
cd "${srcdir}/${_realname}-${pkgver}"

cargo vendor --locked --versioned-dirs
mkdir -p .cargo
cat >> .cargo/config.toml <<END
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"
END
cargo vendor --locked --versioned-dirs >> .cargo/config.toml

patch -Np1 -i "${srcdir}/0001-link-sys-libs-dynamically.patch"
patch -Np1 -i "${srcdir}/0002-remove-unneded-features.patch"
Expand Down Expand Up @@ -98,6 +92,7 @@ package_jj() {

package_jj-docs() {
pkgdesc+=" (documentation)"
depends=()

cd "${srcdir}/${_realname}-${pkgver}"

Expand Down

0 comments on commit 9c595f3

Please sign in to comment.