makedeb
Una is a simple MPR helper.
Click here to go back to the commit logs for una-bin.
Hash: 99ced46184c686d7c9b2ae1ace8e05ab512b6fe2
Message: add manpage
diff --git a/.SRCINFO b/.SRCINFO
index a7f657e..882b02f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ generated-by = makedeb-makepkg
pkgbase = una-bin
pkgdesc = Una is a simple MPR helper.
pkgver = 3.0.0
- pkgrel = 1
+ pkgrel = 2
url = https://github.com/AFK-OS/una
arch = any
depends = bash
@@ -22,10 +22,13 @@ pkgbase = una-bin
depends = git
depends = sed
depends = sensible-utils
+ depends = asciidoctor
provides = una
source = https://github.com/AFK-OS/una/raw/main/una
source = https://github.com/AFK-OS/una/raw/main/una-completion
source = https://github.com/AFK-OS/una/raw/main/una-updater
+ source = https://github.com/AFK-OS/una/raw/main/man/una.8.adoc
+ sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index c8fa258..08dd953 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,21 +1,23 @@
# Maintainer: Rudra Saraswat <rs2009@ubuntu.com>
pkgname=una-bin
pkgver=3.0.0
-pkgrel=1
+pkgrel=2
url='https://github.com/AFK-OS/una'
pkgdesc='Una is a simple MPR helper.'
arch=('any')
-depends=('bash' 'bash-completion' 'ncurses-bin' 'python3' 'git' 'wget' 'python3-requests' 'curl' 'coreutils' 'sudo' 'jq' 'gzip' 'zenity' 'git' 'sed' 'sensible-utils')
+depends=('bash' 'bash-completion' 'ncurses-bin' 'python3' 'git' 'wget' 'python3-requests' 'curl' 'coreutils' 'sudo' 'jq' 'gzip' 'zenity' 'git' 'sed' 'sensible-utils' 'asciidoctor')
keywords=('makedeb' 'mpr-helper' 'bash')
provides=('una')
source=('https://github.com/AFK-OS/una/raw/main/una' 'https://github.com/AFK-OS/una/raw/main/una-completion' \
- 'https://github.com/AFK-OS/una/raw/main/una-updater')
-sha256sums=('SKIP' 'SKIP' 'SKIP')
+ 'https://github.com/AFK-OS/una/raw/main/una-updater' 'https://github.com/AFK-OS/una/raw/main/man/una.8.adoc')
+sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP')
package() {
install -D -m755 una -t "${pkgdir}/usr/bin"
install -D -m755 una-updater -t "${pkgdir}/usr/bin"
+ mkdir -p "${pkgdir}/usr/share/man/man8"
+ asciidoctor -b manpage una.8.adoc -o "${pkgdir}/usr/share/man/man8/una.8"
rm -f una && mv una-completion una
mkdir -p "${pkgdir}/usr/share/bash-completion/completions"
install -D -m755 una -t "${pkgdir}/usr/share/bash-completion/completions" && rm -f una