makedeb
A simplicity-focused packaging tool for Debian archives
Click here to go back to the commit logs for makedeb.
Hash: 7e0be96318587f3b5a6513227d0876f309243b55
Message: Updated version to 6.3.1-1
diff --git a/.SRCINFO b/.SRCINFO
index 3425f5c..adcb196 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,20 @@
pkgbase = makedeb
pkgdesc = Create Debian archives from PKGBUILDs (stable release)
- pkgver = 5.9.5
+ pkgver = 6.3.1
pkgrel = 1
url = https://github.com/makedeb/makedeb
arch = any
license = GPL3
depends = bash
depends = binutils
+ depends = tar
depends = file
- depends = dpkg-dev
- depends = makepkg
+ depends = makedeb-makepkg
optdepends = apt
optdepends = git
- source = https://github.com/makedeb/makedeb/archive/refs/tags/v5.9.5-stable.tar.gz
+ conflicts = makedeb-beta
+ conflicts = makedeb-alpha
+ source = https://github.com/makedeb/makedeb/archive/refs/tags/v6.3.1-stable.tar.gz
sha256sums = SKIP
pkgname = makedeb
diff --git a/PKGBUILD b/PKGBUILD
index 842378d..2dc3fa8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,40 +2,46 @@
_release_type=stable
pkgname=makedeb
-pkgver=5.9.5
+pkgver=6.3.1
pkgrel=1
pkgdesc="Create Debian archives from PKGBUILDs (${_release_type} release)"
arch=('any')
license=('GPL3')
-depends=('bash' 'binutils' 'file' 'dpkg-dev' 'makepkg')
+depends=('bash' 'binutils' 'tar' 'file' 'makedeb-makepkg')
optdepends=('apt' 'git')
+conflicts=('makedeb-beta' 'makedeb-alpha')
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"
}