summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-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"
+}