makedeb


makedeb-alpha 16.1.0-alpha20


A simplicity-focused packaging tool for Debian archives

Click here to go back to the commit logs for makedeb-alpha.

Commit:


Hash: 3b8d7d9b199133c469584233d988129ec3c28c64

Message: Updated version to 5.9.4-1

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 1d58f6e..92e21ce 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = makedeb-alpha
 	pkgdesc = Create Debian archives from PKGBUILDs (alpha release)
-	pkgver = 5.9.3
+	pkgver = {pkgver}
 	pkgrel = 1
 	url = https://github.com/makedeb/makedeb
 	arch = any
@@ -12,7 +12,7 @@ pkgbase = makedeb-alpha
 	depends = makepkg
 	optdepends = apt
 	optdepends = git
-	source = https://github.com/makedeb/makedeb/archive/refs/tags/v5.9.3-alpha.tar.gz
+	source = https://github.com/makedeb/makedeb/archive/refs/tags/v{pkgver}-alpha.tar.gz
 	sha256sums = SKIP
 
 pkgname = makedeb-alpha
diff --git a/PKGBUILD b/PKGBUILD
index 4378153..33b3dd9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 _release_type=alpha
 
 pkgname=makedeb-alpha
-pkgver=5.9.3
+pkgver={pkgver}
 pkgrel=1
 pkgdesc="Create Debian archives from PKGBUILDs (${_release_type} release)"
 arch=('any')
@@ -17,7 +17,7 @@ sha256sums=('SKIP')
 package() {
     # Create single file for makedeb
     mkdir -p "${pkgdir}/usr/bin"
-    cd "makedeb-${_release_type}-v${pkgver}"
+	cd "makedeb-${pkgver}-${_release_type}"
 
     # Add bash shebang
     echo '#!/usr/bin/env bash' > "${pkgdir}/usr/bin/makedeb"
@@ -33,8 +33,8 @@ package() {
     chmod 555 "${pkgdir}/usr/bin/makedeb"
 
     # Set package version, release type, and target OS
-    sed -i "s|makedeb_package_version=.*|makedeb_package_version=${pkgver}|" "${pkgdir}/usr/bin/makedeb"
-	sed -i "s|makedeb_release_type=.*|makedeb_release_type=${_release_type}"
+	sed -i "s|makedeb_package_version=.*|makedeb_package_version=${pkgver}|" "${pkgdir}/usr/bin/makedeb"
+	sed -i "s|makedeb_release_type=.*|makedeb_release_type=${_release_type}|" "${pkgdir}/usr/bin/makedeb"
 
     # Remove testing commands
     sed -i 's|.*# REMOVE AT PACKAGING||g' "${pkgdir}/usr/bin/makedeb"