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: 8dd80ddcdfc64f0326dbf045051d81be6b1acf8e

Message: Updated version to 6.7.3-1

Diff


diff --git a/.SRCINFO b/.SRCINFO
index e8c99f0..0063e47 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,7 +2,7 @@ generated-by = makedeb-makepkg
 
 pkgbase = makedeb-alpha
 	pkgdesc = The modern packaging tool for Debian archives (alpha release)
-	pkgver = 6.6.0
+	pkgver = 6.7.3
 	pkgrel = 1
 	url = https://github.com/makedeb/makedeb
 	arch = any
@@ -12,12 +12,13 @@ pkgbase = makedeb-alpha
 	depends = tar
 	depends = file
 	depends = lsb-release
+	depends = asciidoctor
 	depends = makedeb-makepkg-alpha
 	optdepends = apt
 	optdepends = git
 	conflicts = makedeb
 	conflicts = makedeb-beta
-	source = https://github.com/makedeb/makedeb/archive/refs/tags/v6.6.0-alpha.tar.gz
+	source = https://github.com/makedeb/makedeb/archive/refs/tags/v6.7.3-alpha.tar.gz
 	sha256sums = SKIP
 
 pkgname = makedeb-alpha
diff --git a/PKGBUILD b/PKGBUILD
index 4ed3a4e..0f1e113 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,12 +2,12 @@
 _release_type=alpha
 
 pkgname=makedeb-alpha
-pkgver=6.6.0
+pkgver=6.7.3
 pkgrel=1
 pkgdesc="The modern packaging tool for Debian archives (${_release_type} release)"
 arch=('any')
 license=('GPL3')
-depends=('bash' 'binutils' 'tar' 'file' 'lsb-release' 'makedeb-makepkg-alpha')
+depends=('bash' 'binutils' 'tar' 'file' 'lsb-release' 'asciidoctor' 'makedeb-makepkg-alpha')
 optdepends=('apt' 'git')
 conflicts=('makedeb' 'makedeb-beta')
 url="https://github.com/makedeb/makedeb"
@@ -23,7 +23,7 @@ prepare() {
   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
+  sed -i 's|.*# REMOVE AT PACKAGING||g' src/makedeb.sh
 }
 
 package() {
@@ -42,6 +42,14 @@ package() {
   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/makedeb.8.adoc \
+                -o "${pkgdir}/usr/share/man/man5/pkgbuild.5"
 }