summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--blheli-configurator-bin.install5
3 files changed, 10 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7f75cd9b6d7d..64703602b795 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,8 +3,10 @@ pkgbase = blheli-configurator-bin
pkgver = 1.2.0
pkgrel = 1
url = https://github.com/blheli-configurator/blheli-configurator
+ install = blheli-configurator-bin.install
arch = x86_64
license = GPL3
+ provides = blheli-configurator
conflicts = blheli-configurator
options = !strip
source = https://github.com/blheli-configurator/blheli-configurator/releases/download/1.2.0/BLHeli-Configurator_linux64_1.2.0.zip
diff --git a/PKGBUILD b/PKGBUILD
index a5573dbad4a6..910e4cbbf5ff 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,11 +14,13 @@ source=("https://github.com/blheli-configurator/blheli-configurator/releases/dow
sha256sums=('6a9b019113afd8901310e7e94fb3e3af637e89d2b6109a4a4501512c9cecded3'
'0f806054053cf4dbb6204edd6457f868a53e8871047f5b0cc59e7e814994b182'
- 'SKIP'
+ '589ed823e9a84c56feb95ac58e7cf384626b9cbf4fda2a907bc36e103de1bad2'
'2bc56da58c65a897149e70720e76bff080ffa99d847b283f516ae9f3130ccbd1')
+install="${pkgname}.install"
options=(!strip)
license=('GPL3')
+provides=('blheli-configurator')
conflicts=('blheli-configurator')
package() {
diff --git a/blheli-configurator-bin.install b/blheli-configurator-bin.install
new file mode 100644
index 000000000000..55340ca3bbcb
--- /dev/null
+++ b/blheli-configurator-bin.install
@@ -0,0 +1,5 @@
+## arg 1: the new package version
+post_install() {
+ printf "\nAdd your user to the 'uucp' group, to allow serial port access.\n"
+ printf "For example: 'sudo usermod -Ga uucp $USER'\n\n"
+}