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: 2af91b58fbd371441bbb69e1a3af4f2f0450489a

Message: Updated version to 16.1.0-beta

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 2e0e2ea..cab7614 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,10 +2,11 @@ generated-by = makedeb
 pkgname = makedeb-beta
 pkgbase = makedeb-beta
 pkgdesc = A simplicity-focused packaging tool for Debian archives
-pkgrel = beta1
-pkgver = 16.0.0
+pkgrel = beta
+pkgver = 16.1.0
 url = https://github.com/makedeb/makedeb
-arch = all
+arch = any
+backup = /etc/makepkg.conf
 conflicts = makedeb
 depends = apt
 depends = binutils
@@ -17,18 +18,18 @@ depends = gettext
 depends = gawk
 depends = libarchive-tools
 depends = lsb-release
-depends = python3
-depends = python3-apt
 depends = zstd
 license = GPL3
 makedepends = asciidoctor
+makedepends = cargo
 makedepends = git
 makedepends = make
 makedepends = jq
-provides = makedeb=16.0.0
-source = makedeb::git+https://github.com/makedeb/makedeb/#tag=v16.0.0-beta1
+provides = makedeb=16.1.0
+source = makedeb::git+https://github.com/makedeb/makedeb/#tag=v16.1.0-beta
 sha256sums = SKIP
 makedepends = asciidoctor
+makedepends = cargo
 makedepends = git
 makedepends = make
 makedepends = jq
diff --git a/PKGBUILD b/PKGBUILD
index 813356a..3e07ac7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,11 +3,10 @@ _release=beta
 _target=mpr
 
 pkgname=makedeb-beta
-pkgver=16.0.0
-pkgrel=beta1
+pkgver=16.1.0
+pkgrel=beta
 pkgdesc="A simplicity-focused packaging tool for Debian archives"
-arch=('all')
-license=('GPL3')
+arch=('any')
 depends=(
 	'apt'
 	'binutils'
@@ -19,18 +18,19 @@ depends=(
 	'gawk'
 	'libarchive-tools'
 	'lsb-release'
-	'python3'
-	'python3-apt'
 	'zstd'
 )
 makedepends=(
 	'asciidoctor'
+	'cargo'
 	'git'
 	'make'
 	'jq'
 )
 conflicts=('makedeb')
 provides=("makedeb=${pkgver}")
+license=('GPL3')
+backup=('/etc/makepkg.conf')
 url="https://github.com/makedeb/makedeb"
 
 source=("makedeb::git+${url}/#tag=v${pkgver}-${pkgrel}")
@@ -38,10 +38,28 @@ sha256sums=('SKIP')
 
 prepare() {
 	cd makedeb/
-	make prepare PKGVER="${pkgver}" RELEASE="${_release}" TARGET="${_target}" CURRENT_VERSION="${pkgver}-${pkgrel}"
+	VERSION="${pkgver}-${pkgrel}" \
+		RELEASE="${_release}" \
+		TARGET="${_target}" \
+		just prepare
+}
+
+build() {
+	cd makedeb/
+	local no_worker_sizes_distros=('bionic')
+	export DPKG_ARCHITECTURE="${MAKEDEB_DPKG_ARCHITECTURE}"
+
+	if ! in_array "${MAKEDEB_DISTRO_CODENAME}" "${no_worker_sizes_distros[@]}"; then
+		export RUST_APT_WORKER_SIZES=1
+	fi
+
+	just build
 }
 
 package() {
 	cd makedeb/
-	make package DESTDIR="${pkgdir}" TARGET="${_target}"
+	DESTDIR="${pkgdir}" \
+		just package
 }
+
+# vim: set syntax=bash sw=4 expandtab: