Date: Sunday, February 12, 2023 @ 18:00:26
  Author: alucryd
Revision: 1400133

add nsz

Added:
  nsz/
  nsz/trunk/
  nsz/trunk/PKGBUILD

----------+
 PKGBUILD |   40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)

Added: nsz/trunk/PKGBUILD
===================================================================
--- nsz/trunk/PKGBUILD                          (rev 0)
+++ nsz/trunk/PKGBUILD  2023-02-12 18:00:26 UTC (rev 1400133)
@@ -0,0 +1,40 @@
+# Maintainer: Maxime Gauduin <[email protected]>
+# Contributor: Michael Armbruster <[email protected]>
+
+pkgname=nsz
+pkgrel=1
+pkgver=4.2.1
+pkgdesc='Nintendo Switch homebrew compatible NSP/XCI compressor/decompressor'
+arch=(any)
+url=https://github.com/nicoboss/nsz
+license=(MIT)
+depends=(
+  python-enlighten
+  python-pycryptodome
+  python-zstandard
+)
+makedepends=(
+  git
+  python-setuptools
+)
+optdepends=('python-kivy: GUI support')
+_tag=ad358da6b640f69cf16541ebc691ac0a8cd76493
+source=(git+https://github.com/nicoboss/nsz.git#tag=${_tag})
+b2sums=(SKIP)
+
+pkgver() {
+  cd nsz
+  git describe --tags
+}
+
+build() {
+  cd nsz
+  python setup.py build
+}
+
+package() {
+  cd nsz
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}
+
+# vim: ts=2 sw=2 et:

Reply via email to