makedeb
The official command-line interface for the makedeb Package Repository
Click here to go back to the commit logs for mist.
Hash: 576f8936352df87852d2e1d9b8e475818f8ad2be
Message: Bump version to '0.8.0-1'
diff --git a/.SRCINFO b/.SRCINFO
index 50047e1..bcd3dec 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,8 +3,21 @@ pkgname = mist
pkgbase = mist
pkgdesc = The official helper for the makedeb Package Repository
pkgrel = 1
-pkgver = 0.6.3
+pkgver = 0.8.0
url = https://github.com/makedeb/mist
arch = any
-depends = mari
+conflicts = mpr-cli<0.5.2
+depends = libapt-pkg-dev
+depends = libssl-dev
license = GPL3
+makedepends = asciidoctor
+makedepends = cargo
+makedepends = pkg-config
+optdepends = r!less
+replaces = mpr-cli<0.5.2
+source = https://github.com/makedeb/mist/archive/refs/tags/v0.8.0.tar.gz
+sha256sums = SKIP
+makedepends = asciidoctor
+makedepends = cargo
+makedepends = pkg-config
+optdepends = r!less
diff --git a/PKGBUILD b/PKGBUILD
index 2532787..3db9894 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,15 +1,46 @@
# Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
pkgname=mist
-pkgver=0.6.3
+pkgver=0.8.0
pkgrel=1
pkgdesc='The official helper for the makedeb Package Repository'
arch=('any')
-depends=('mari')
+depends=(
+ 'libapt-pkg-dev'
+ 'libssl-dev'
+)
+optdepends=(
+ 'r!less'
+)
+makedepends=(
+ 'asciidoctor'
+ 'cargo'
+ 'pkg-config'
+)
license=('GPL3')
url='https://github.com/makedeb/mist'
+# Transition stuff for the package rename from 'mpr-cli' to 'mist'.
+conflicts=('mpr-cli<0.5.2')
+replaces=("${conflicts[@]}")
+
+source=("${url}/archive/refs/tags/v${pkgver}.tar.gz")
+sha256sums=('SKIP')
+
+build() {
+ cd "${pkgname}-${pkgver}/"
+ cargo build --release
+
+ sed -i "s|:mansource: Git|:mansource: ${pkgver}|" man/mist.1.adoc
+}
+
package() {
- true
+ cd "${pkgname}-${pkgver}/"
+ install -Dm 755 target/release/mist "${pkgdir}/usr/bin/mist"
+ asciidoctor -b manpage -o - man/mist.1.adoc | install -Dm 644 /dev/stdin "${pkgdir}/usr/share/man/man1/mist.1"
+ install -Dm 644 completions/mist.bash "${pkgdir}/usr/share/bash-completion/completions/mist"
+
+ # Transition stuff for the package rename from 'mpr-cli' to 'mist'.
+ ln -s '/usr/bin/mist' "${pkgdir}/usr/bin/mpr"
}
# vim: set sw=4 expandtab: