makedeb
Una is a simple MPR helper.
Click here to go back to the commit logs for una-bin.
Hash: b0113411a520b314ed166bbad2919936b5778cc2
Message: v1.1.1 - add auto-updater
diff --git a/.SRCINFO b/.SRCINFO
index 5c63742..2328f63 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -18,6 +18,7 @@ pkgbase = una-bin
depends = sudo
depends = jq
depends = gzip
+ depends = zenity
provides = una
source = https://github.com/AFK-OS/una/raw/main/una
source = https://github.com/AFK-OS/una/raw/main/una-completion
diff --git a/.gitignore b/.gitignore
index 1783f7a..e80268a 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,5 @@
-pkg/
-src/
-una-bin/
-*.deb
-una
+*
+
+!PKGBUILD
+!.gitignore
+!.SRCINFO
diff --git a/PKGBUILD b/PKGBUILD
index f40871b..17e6eaf 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,19 +1,22 @@
# Maintainer: Rudra Saraswat <rs2009@ubuntu.com>
pkgname=una-bin
-pkgver=1.1.0
+pkgver=1.1.1
pkgrel=1
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')
+depends=('bash' 'bash-completion' 'ncurses-bin' 'python3' 'git' 'wget' 'python3-requests' 'curl' 'coreutils' 'sudo' 'jq' 'gzip' 'zenity')
provides=('una')
-source=('https://github.com/AFK-OS/una/raw/main/una' 'https://github.com/AFK-OS/una/raw/main/una-completion')
-sha256sums=('SKIP' 'SKIP')
+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' 'https://github.com/AFK-OS/una/raw/main/una-updater.desktop')
+sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP')
package() {
install -D -m755 una -t "${pkgdir}/usr/bin"
- mv una-completion una
+ install -D -m755 una-updater -t "${pkgdir}/usr/bin"
+ install -D -m644 una-updater.desktop -t "${pkgdir}/etc/xdg/autostart"
+ 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
}