makedeb


una-bin 3.2.0-1


Una is a simple MPR helper.

Click here to go back to the commit logs for una-bin.

Commit:


Hash: e456771c42d2ac68b303fe5bba3d14d9bca4bb62

Message: fix package function

Diff


diff --git a/.SRCINFO b/.SRCINFO
index d614a1a..8154459 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ generated-by = makedeb-makepkg
 pkgbase = una-bin
 	pkgdesc = Una is a simple MPR helper.
 	pkgver = 1.0.2
-	pkgrel = 1
+	pkgrel = 2
 	url = https://github.com/AFK-OS/una
 	arch = any
 	depends = bash
diff --git a/PKGBUILD b/PKGBUILD
index 32b1588..ca569d3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Rudra Saraswat <rs2009@ubuntu.com>
 pkgname=una-bin
 pkgver=1.0.2
-pkgrel=1
+pkgrel=2
 url='https://github.com/AFK-OS/una'
 pkgdesc='Una is a simple MPR helper.'
 arch=('any')
@@ -12,6 +12,5 @@ source=('https://github.com/AFK-OS/una/raw/main/una')
 sha256sums=('SKIP')
 
 package() {
-  mkdir -p "${pkgdir}/usr/bin" && mv una "${pkgdir}/usr/bin/una"
-  chmod 755 "${pkgdir}/usr/bin/una"
+    install -D -m755 una -t "${pkgdir}/usr/bin"
 }