makedeb


makedeb 16.0.0-stable


A simplicity-focused packaging tool for Debian archives

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

Commit:


Hash: 26d6e93ef4343ead604cdb5fddd56260ce194e65

Message: Updated version to 8.4.2-1

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 9500f67..4943a71 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,24 +2,40 @@ generated-by = makedeb-makepkg
 
 pkgbase = makedeb
 	pkgdesc = The modern packaging tool for Debian archives (stable release)
-	pkgver = 7.1.2+bugfix1
+	pkgver = 8.4.2
 	pkgrel = 1
 	url = https://github.com/makedeb/makedeb
 	arch = any
 	license = GPL3
+	makedepends = asciidoctor
 	makedepends = git
+	makedepends = make
+	makedepends = jq
+	depends = apt
 	depends = bash
 	depends = binutils
-	depends = tar
+	depends = coreutils
+	depends = curl
+	depends = fakeroot
 	depends = file
+	depends = gettext
+	depends = gawk
+	depends = libarchive-tools
 	depends = lsb-release
-	depends = asciidoctor
-	depends = makedeb-makepkg
-	optdepends = apt
-	optdepends = git
-	conflicts = makedeb-beta
-	conflicts = makedeb-alpha
-	source = git+https://github.com/makedeb/makedeb/#tag=v7.1.2+bugfix1-stable
+	depends = python3
+	depends = python3-apt
+	depends = tar
+	depends = zstd
+	provides = makedeb-makepkg
+	provides = makedeb-makepkg-beta
+	provides = makedeb-makepkg-alpha
+	conflicts = makedeb-makepkg
+	conflicts = makedeb-makepkg-beta
+	conflicts = makedeb-makepkg-alpha
+	replaces = makedeb-makepkg
+	replaces = makedeb-makepkg-beta
+	replaces = makedeb-makepkg-alpha
+	source = makedeb::git+https://github.com/makedeb/makedeb/#tag=v8.4.2-1-stable
 	sha256sums = SKIP
 
 pkgname = makedeb
diff --git a/PKGBUILD b/PKGBUILD
index f9b8f81..183a2d8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,56 +1,29 @@
-# Maintainer: Hunter Wittenborn: <hunter@hunterwittenborn.com>
-_release_type=stable
+# Maintainer: Hunter Wittenborn <hunter@hunterwittenborn.com>
+_release=stable
+_target=mpr
 
 pkgname=makedeb
-pkgver=7.1.2+bugfix1
+pkgver=8.4.2
 pkgrel=1
-pkgdesc="The modern packaging tool for Debian archives (${_release_type} release)"
+pkgdesc="The modern packaging tool for Debian archives (${_release} release)"
 arch=('any')
 license=('GPL3')
-depends=('bash' 'binutils' 'tar' 'file' 'lsb-release' 'asciidoctor' 'makedeb-makepkg')
-makedepends=('git')
-optdepends=('apt' 'git')
-conflicts=('makedeb-beta' 'makedeb-alpha')
+depends=('apt' 'bash' 'binutils' 'coreutils' 'curl' 'fakeroot' 'file' 'gettext' 'gawk' 'libarchive-tools' 'lsb-release' 'python3' 'python3-apt' 'tar' 'zstd')
+makedepends=('asciidoctor' 'git' 'make' 'jq')
+conflicts=('makedeb-makepkg' 'makedeb-makepkg-beta' 'makedeb-makepkg-alpha')
+provides=('makedeb-makepkg' 'makedeb-makepkg-beta' 'makedeb-makepkg-alpha')
+replaces=('makedeb-makepkg' 'makedeb-makepkg-beta' 'makedeb-makepkg-alpha')
 url="https://github.com/makedeb/makedeb"
 
-source=("git+${url}/#tag=v${pkgver}-${_release_type}")
+source=("makedeb::git+${url}/#tag=v${pkgver}-${pkgrel}-${_release}")
 sha256sums=('SKIP')
 
 prepare() {
-  cd makedeb/
-
-  # 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
+	cd makedeb/
+	make prepare PKGVER="${pkgver}" RELEASE="${_release}" TARGET="${_target}"
 }
 
 package() {
-  # Create single file for makedeb
-  mkdir -p "${pkgdir}/usr/bin"
-  cd makedeb/
-
-  # Add bash shebang
-  echo '#!/usr/bin/env bash' > "${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
-
-  cat "src/makedeb.sh" >> "${pkgdir}/usr/bin/makedeb"
-  chmod 555 "${pkgdir}/usr/bin/makedeb"
-
-  # Set up man pages
-  SOURCE_DATE_EPOCH="$(git log -1 --pretty='%ct' man/makedeb.8.adoc)" \
-    asciidoctor -b manpage man/makedeb.8.adoc \
-                -o "${pkgdir}/usr/share/man/man8/makedeb.8"
-
-  SOURCE_DATE_EPOCH="$(git log -1 --pretty='%ct' man/pkgbuild.5.adoc)" \
-    asciidoctor -b manpage man/pkgbuild.5.adoc \
-                -o "${pkgdir}/usr/share/man/man5/pkgbuild.5"
+	cd makedeb/
+	make package DESTDIR="${pkgdir}"
 }