makedeb


makedeb-beta 16.1.0-beta1


A simplicity-focused packaging tool for Debian archives

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

Commit:


Hash: ee78599b248adc76f7f71d21e3f1a14162ae7d11

Message: Updated version to 6.2.0-1

Diff


diff --git a/.SRCINFO b/.SRCINFO
index d81c801..a0f90d0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
 pkgbase = makedeb-beta
 	pkgdesc = Create Debian archives from PKGBUILDs (beta release)
-	pkgver = 5.16.1
+	pkgver = 6.2.0
 	pkgrel = 1
 	url = https://github.com/makedeb/makedeb
 	arch = any
@@ -14,7 +14,7 @@ pkgbase = makedeb-beta
 	optdepends = git
 	conflicts = makedeb
 	conflicts = makedeb-alpha
-	source = https://github.com/makedeb/makedeb/archive/refs/tags/v5.16.1-beta.tar.gz
+	source = https://github.com/makedeb/makedeb/archive/refs/tags/v6.2.0-beta.tar.gz
 	sha256sums = SKIP
 
 pkgname = makedeb-beta
diff --git a/PKGBUILD b/PKGBUILD
index 4655623..26eab5b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
 _release_type=beta
 
 pkgname=makedeb-beta
-pkgver=5.16.1
+pkgver=6.2.0
 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"
 }