makedeb


mpm 3.7.1-1


Fully-featured reference MPR helper

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

Commit:


Hash: 287ff89d54ea5ac55b2a99b832216192a094e6b3

Message: Updated version to 3.5.0

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 0d3fe65..54054c1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
 pkgbase = mpm
 	pkgdesc = makedeb package manager
-	pkgver = 3.4.0
+	pkgver = 3.5.0
 	pkgrel = 1
 	url = https://github.com/hwittenborn/mpm
 	arch = any
 	depends = jq
 	depends = curl
 	options = emptydirs
-	source = mpm-3.4.0.tar.gz::https://github.com/hwittenborn/mpm/archive/refs/tags/v3.4.0.tar.gz
+	source = mpm-3.5.0.tar.gz::https://github.com/hwittenborn/mpm/archive/refs/tags/v3.5.0.tar.gz
 	sha256sums = SKIP
 
 pkgname = mpm
diff --git a/PKGBUILD b/PKGBUILD
index 9c552c5..7857adc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
 
 pkgname=mpm
-pkgver=3.4.0
+pkgver=3.5.0
 pkgrel=1
 pkgdesc="makedeb package manager"
 arch=('any')
@@ -29,4 +29,7 @@ package() {
 
     # Remove testing commands
     sed -i 's|.*# REMOVE AT PACKAGING||g' "${pkgdir}/usr/bin/mpm"
+
+    # Set package version
+    sed -i "s|mpm_version=.*|mpm_version='${pkgver}-${pkgrel}'|" "${pkgdir}/usr/bin/mpm"
 }