summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorVVL2017-09-29 14:40:48 +0300
committerVVL2017-09-29 14:40:48 +0300
commit2a299b554620e99a9e286e20c7e6a268c75b65d8 (patch)
tree3601186ac492e4c1cc3d1e5917466b7fadb86912
downloadaur-2a299b554620e99a9e286e20c7e6a268c75b65d8.tar.gz
Initial import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD19
2 files changed, 35 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..46589f42ab5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+# Generated by mksrcinfo v8
+# Fri Sep 29 11:38:58 UTC 2017
+pkgbase = snft
+ pkgdesc = Script for simple configuring firewall based on nftables.
+ pkgver = 1.1.0
+ pkgrel = 1
+ url = https://github.com/vvl-rulez/snft
+ arch = any
+ license = MIT
+ depends = nftables
+ conflicts = snft-git
+ source = https://github.com/vvl-rulez/snft/archive/v1.1.0.tar.gz
+ sha256sums = SKIP
+
+pkgname = snft
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..e5a54afafc5
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: VVL <me@ivvl.ru>
+# Contributor: VVL <me@ivvl.ru>
+
+pkgname=snft
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Script for simple configuring firewall based on nftables."
+arch=(any)
+url="https://github.com/vvl-rulez/snft"
+license=('MIT')
+source=("https://github.com/vvl-rulez/snft/archive/v1.1.0.tar.gz")
+depends=('nftables')
+conflicts=('snft-git')
+sha256sums=('SKIP')
+package() {
+ cd "$pkgname-$pkgver"
+ install -Dm755 snft "$pkgdir/usr/bin/snft"
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}