apkbuilds @ 0789f98f45f1963f3267c70c2db0e78d84ec70e9

chore: Update jnfilter
diff --git a/apks/jnfilter/APKBUILD b/apks/jnfilter/APKBUILD
index 13d9349b71f3a630250703f26a94cbdbf6a93083..ef2896c32f21e6a86a49a410112e0180e180c33c 100644
--- a/apks/jnfilter/APKBUILD
+++ b/apks/jnfilter/APKBUILD
@@ -1,19 +1,13 @@
 # Maintainer: Gabriel Arakaki Giovanini <mail@gabrielgio.me>
 pkgname=jnfilter
-pkgver=0.1.2
-pkgrel=0
+pkgver=0.1.3
+pkgrel=1
 pkgdesc="Filtro for Joven Nerd's podcast feed"
 url="https://git.sr.ht/~gabrielgio/jnfilter"
-arch="noarch"
-license="Apache-2.0"
+arch="x86_64"
+license="AGPL"
 options="!check" # package does not provide test
-depends="
-    python3
-    py3-httpx
-    py3-flask
-    py3-gunicorn
-"
-makedepends="python3-dev py3-setuptools"
+makedepends="go"
 builddir="$srcdir/$pkgname-v$pkgver"
 subpackages="
     $pkgname-openrc
@@ -27,11 +21,9 @@         $pkgname.nginx.conf
         $pkgname.caddyfile
         $pkgname.confd
 "
-provides="py3-jnfilter=$pkgver-r$pkgrel"
-
 
 build() {
-	python3 setup.py build
+    make
 }
 
 _nginx() {
@@ -58,13 +50,13 @@ 		"$pkgdir"/etc/init.d/$pkgname
 	install -m644 -D "$srcdir"/$pkgname.confd \
 		"$pkgdir"/etc/conf.d/$pkgname
 
-	python3 setup.py install --prefix=/usr --root="$pkgdir"
+	install -Dm755 bin/jnfilter "$pkgdir"/usr/bin/jnfilter
 }
 
 sha512sums="
-b7bba93dc85ffe9e86e1b0c7e3d1773d30aec9dd6797fc41b995a1a6b5687aa33e8f7ef26b9d26be6d5ffdbbe21d3750e97b15ebaf82dba4e63b9d82120f0cb2  jnfilter-0.1.1.tar.gz
-4e9afb1c25218e78aa9ce033c76689613c55eeab2c3b460476ee64375c50b83f99e98ce504c9a9485ae55e186d02eb5d38715100343a8b59cab0f14aa7fa2346  jnfilter.initd
+b067d6e4a15434094fcbb2c1894e0a8769ca4c31d03438b3ed2478b63e2dbba6037890faf5d2105d288a55fb87aab0e433e23021c6fbc6a669db0b86fb660db9  jnfilter-0.1.3.tar.gz
+2f12224f8759fb13cd3b709cf397f15ad2a6fb024edeac7646e0ce4b7a5ba6862a15c1beb728c1d0f8837910a9c403f5f42c6b7b9d81544845d154907c80ff0d  jnfilter.initd
 7edf3d3932a8af82aa5140523c517da2d697e10c197b784bd9d370baddccb66c25a67c4e2b1d64f7521e818258348e3153168256572ab5bc1b0f0bc73ffe6944  jnfilter.nginx.conf
 6abd5060297c0bf38d3a12bbe34b01ee2e5df1b0600ac9458850f64d4647fe3c5eb9bdb4855645875e48fe74f64229abbdcc1b139ca14f89db6e795d3a09ebf6  jnfilter.caddyfile
-00142d4a156bba4b714c2488674a53f82a95cbfd073aede159011de5aca415fe51481eee2bd225e376fd9cdf66ba95faa76beb038c896b6148454f940a58fffd  jnfilter.confd
+42965f5969d5385ab92c952ff26dfb436ba60763e6d12f48e399e166b652d0a84f725366e9a75c4a89e003e71d8ce71f4e4ce0eb27a26737bdb658dd4e7ea52b  jnfilter.confd
 "
diff --git a/apks/jnfilter/jnfilter.confd b/apks/jnfilter/jnfilter.confd
index d446d70259a227c3ff7826e75799036e9d5935fe..b0703147ca5f079b387dca750ab384f93f1e1ed8 100644
--- a/apks/jnfilter/jnfilter.confd
+++ b/apks/jnfilter/jnfilter.confd
@@ -1,3 +1 @@
-port=32000
-host=127.0.0.1
-workers=2
+addr=:32000
diff --git a/apks/jnfilter/jnfilter.initd b/apks/jnfilter/jnfilter.initd
index 83c7a9704dc3f604bcf24907f908727a9993dc1a..ca793bfab830df47e0bdd6542fd41d0596b2d72f 100644
--- a/apks/jnfilter/jnfilter.initd
+++ b/apks/jnfilter/jnfilter.initd
@@ -2,11 +2,9 @@ #!/sbin/openrc-run
 supervisor="supervise-daemon"
 
 name="jnfilter"
-command="/usr/bin/gunicorn"
+command="/usr/bin/jnfilter"
 command_args="
-    -w ${workers}
-    -b ${host}:${port}
-    jnfilter:app
+    -addr ${addr}
 "
 command_background="yes"