makedeb


mist 0.12.0-1


The official command-line interface for the makedeb Package Repository

Click here to go back to the commit logs for mist.

Commit:


Hash: be643377e69b89419962cdf23145ea9074cbee4b

Message: Bump version to '0.9.3-1'

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 873c165..00b0867 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,10 @@
 generated-by = makedeb
 pkgname = mist
+postinst = mist.postinst
 pkgbase = mist
 pkgdesc = The official command-line interface for the makedeb Package Repository
 pkgrel = 1
-pkgver = 0.9.1
+pkgver = 0.9.3
 url = https://github.com/makedeb/mist
 arch = any
 depends = libapt-pkg-dev
@@ -11,14 +12,12 @@ depends = libssl-dev
 depends = sudo
 license = GPL3
 makedepends = asciidoctor
-makedepends = just
 makedepends = rustup
 makedepends = pkg-config
 optdepends = r!less
-source = https://github.com/makedeb/mist/archive/refs/tags/v0.9.1.tar.gz
+source = https://github.com/makedeb/mist/archive/refs/tags/v0.9.3.tar.gz
 sha256sums = SKIP
 makedepends = asciidoctor
-makedepends = just
 makedepends = rustup
 makedepends = pkg-config
 optdepends = r!less
diff --git a/PKGBUILD b/PKGBUILD
index aaed644..aa7c980 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,10 @@
 # Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
+
+# NOTE: If you're installing this from the MPR you'll need to pass
+# `-H 'MPR-Package: yes'` to your `makedeb` call if you want Mist to be able to
+# automatically update itself.
 pkgname=mist
-pkgver=0.9.1
+pkgver=0.9.3
 pkgrel=1
 pkgdesc='The official command-line interface for the makedeb Package Repository'
 arch=('any')
@@ -14,19 +18,19 @@ optdepends=(
 )
 makedepends=(
     'asciidoctor'
-    'just'
     'rustup'
     'pkg-config'
 )
 license=('GPL3')
 url='https://github.com/makedeb/mist'
+postinst='mist.postinst'
 
 source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")
 sha256sums=('SKIP')
 
 build() {
     cd "${pkgname}-${pkgver}/"
-    just CARGO_RELEASE=1 NO_SUDO=1 build 
+    cargo build --release
     sed -i "s|:mansource: Git|:mansource: ${pkgver}|" man/mist.1.adoc
 }
 
diff --git a/mist.postinst b/mist.postinst
new file mode 100644
index 0000000..0072b48
--- /dev/null
+++ b/mist.postinst
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+chown 'root:root' /usr/bin/mist
+chmod a+s /usr/bin/mist
\ No newline at end of file