summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-07-15 02:35:40 +0300
committerDimitris Kiziridis2020-07-15 02:35:40 +0300
commitde115d1b9775e69d0e059efdbc0c8553c9c36385 (patch)
tree3e36732cbe33723fde16d7de2f48110bab73efc8
downloadaur-de115d1b9775e69d0e059efdbc0c8553c9c36385.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD20
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9cfd6f1dc1c
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = portforwarder-rs-bin
+ pkgdesc = Forwards ports on UPnP-enabled gateways. Inspired by portmapper
+ pkgver = 0.1.0
+ pkgrel = 1
+ url = https://crates.io/crates/portforwarder-rs
+ arch = i686
+ arch = x86_64
+ license = MIT
+ depends = gcc-libs
+ provides = portforwarder-rs
+ source = portforwarder-rs-bin-0.1.0::https://github.com/pzmarzly/portforwarder-rs/releases/download/0.1.0/pf
+ source = LICENSE::https://github.com/pzmarzly/portforwarder-rs/raw/master/LICENSE
+ sha256sums = 84aeae689214aa86512afe50b35b8c45b0509ae4c28dc76821094d4a8b8ef494
+ sha256sums = 1499cd704105d56653dba0bf6f5760cdfc465f976007ad1f558960e48b52f626
+
+pkgname = portforwarder-rs-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..d90fe3e0825
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,20 @@
+# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
+
+pkgname=portforwarder-rs-bin
+pkgver=0.1.0
+pkgrel=1
+pkgdesc='Forwards ports on UPnP-enabled gateways. Inspired by portmapper'
+arch=('i686' 'x86_64')
+url='https://crates.io/crates/portforwarder-rs'
+license=('MIT')
+provides=('portforwarder-rs')
+depends=('gcc-libs')
+source=("${pkgname}-${pkgver}::https://github.com/pzmarzly/portforwarder-rs/releases/download/${pkgver}/pf"
+ 'LICENSE::https://github.com/pzmarzly/portforwarder-rs/raw/master/LICENSE')
+sha256sums=('84aeae689214aa86512afe50b35b8c45b0509ae4c28dc76821094d4a8b8ef494'
+ '1499cd704105d56653dba0bf6f5760cdfc465f976007ad1f558960e48b52f626')
+
+package() {
+ install -Dm755 ${pkgname}-${pkgver} "${pkgdir}/usr/bin/pf"
+ install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+} \ No newline at end of file