summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO13
-rw-r--r--.gitignore1
-rw-r--r--PKGBUILD18
3 files changed, 32 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..b506513765b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,13 @@
+pkgbase = modpoll-bin
+ pkgdesc = A command line based Modbus master simulator and test utility.
+ pkgver = 3.4
+ pkgrel = 1
+ url = https://www.modbusdriver.com/modpoll.html
+ arch = x86_64
+ license = custom
+ provides = modpoll
+ source = https://www.modbusdriver.com/downloads/modpoll.3.4.zip
+ md5sums = af5953808212e005b458ca90d7cf868b
+
+pkgname = modpoll-bin
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..72e8ffc0db8
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..3845cb6e64f
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: Adam S Levy <adam@aslevy.com>
+pkgname=modpoll-bin
+_pkgname=modpoll
+pkgver=3.4
+pkgrel=1
+pkgdesc="A command line based Modbus master simulator and test utility."
+arch=("x86_64")
+url="https://www.modbusdriver.com/$_pkgname.html"
+license=('custom')
+provides=("$_pkgname")
+source=("https://www.modbusdriver.com/downloads/$_pkgname.$pkgver.zip")
+md5sums=('af5953808212e005b458ca90d7cf868b')
+
+package() {
+ cd "$srcdir"
+ install -Dm755 linux/$_pkgname "$pkgdir/usr/bin/$_pkgname"
+ install -Dm644 LICENSE-FREE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE"
+}