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: 814ab0934ef9d1fe9a71b6864b593ea85ca78e78

Message: Updated version to 6.0.1-1

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 10d8b4e..794b94e 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = makedeb-alpha
 	pkgdesc = Create Debian archives from PKGBUILDs (alpha release)
-	pkgver = 5.18.0
+	pkgver = 6.0.1
 	pkgrel = 1
 	url = https://github.com/makedeb/makedeb
 	arch = any
@@ -14,7 +14,7 @@ pkgbase = makedeb-alpha
 	optdepends = git
 	conflicts = makedeb
 	conflicts = makedeb-beta
-	source = https://github.com/makedeb/makedeb/archive/refs/tags/v5.18.0-alpha.tar.gz
+	source = https://github.com/makedeb/makedeb/archive/refs/tags/v6.0.1-alpha.tar.gz
 	sha256sums = SKIP
 
 pkgname = makedeb-alpha
diff --git a/PKGBUILD b/PKGBUILD
index 0c21d95..c7471f6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 _release_type=alpha
 
 pkgname=makedeb-alpha
-pkgver=5.18.0
+pkgver=6.0.1
 pkgrel=1
 pkgdesc="Create Debian archives from PKGBUILDs (${_release_type} release)"
 arch=('any')
@@ -15,28 +15,33 @@ url="https://github.com/makedeb/makedeb"
 source=("${url}/archive/refs/tags/v${pkgver}-${_release_type}.tar.gz")
 sha256sums=('SKIP')
 
-package() {
-    # Create single file for makedeb
-    mkdir -p "${pkgdir}/usr/bin"
-	cd "makedeb-${pkgver}-${_release_type}"
+prepare() {
+  cd "makedeb-${pkgver}-${_release_type}"
+  
+  # Set package version and release type
+  sed -i "s|makedeb_package_version=.*|makedeb_package_version=${pkgver}-${pkgrel}|"  src/makedeb.sh
+  sed -i "s|makedeb_release_type=.*|makedeb_release_type=${_release_type}|" src/makedeb.sh
+
+  # Remove testing commands
+  sed -i 's|.*# REMOVE AT PACKAGING||g'                                     src/makedeb.sh
+}
 
-    # Add bash shebang
-    echo '#!/usr/bin/env bash' > "${pkgdir}/usr/bin/makedeb"
+package() {
+  # Create single file for makedeb
+  mkdir -p "${pkgdir}/usr/bin"
+  cd "makedeb-${pkgver}-${_release_type}"
 
-    # Copy functions
-    for i in $(find "src/functions/"); do
-        if ! [[ -d "${i}" ]]; then
-            cat "${i}" >> "${pkgdir}/usr/bin/makedeb"
-        fi
-    done
-    cat "src/makedeb.sh" >> "${pkgdir}/usr/bin/makedeb"
+  # Add bash shebang
+  echo '#!/usr/bin/env bash' > "${pkgdir}/usr/bin/makedeb"
 
-    chmod 555 "${pkgdir}/usr/bin/makedeb"
+  # Copy functions
+  for i in $(find "src/functions/"); do
+    if ! [[ -d "${i}" ]]; then
+      cat "${i}" >> "${pkgdir}/usr/bin/makedeb"
+    fi
+  done
 
-    # 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}|" "${pkgdir}/usr/bin/makedeb"
+  cat "src/makedeb.sh" >> "${pkgdir}/usr/bin/makedeb"
 
-    # Remove testing commands
-    sed -i 's|.*# REMOVE AT PACKAGING||g' "${pkgdir}/usr/bin/makedeb"
+  chmod 555 "${pkgdir}/usr/bin/makedeb"
 }