From 530c5d0dbcdcab35db43acaae50be559785e3620 Mon Sep 17 00:00:00 2001 From: Pinapelz Date: Sat, 20 Sep 2025 11:39:48 -0700 Subject: add PKGBUILD --- .gitignore | 4 ++++ LICENSE | 21 +++++++++++++++++++++ PKGBUILD | 31 +++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 .gitignore create mode 100644 LICENSE create mode 100644 PKGBUILD diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..737b263 --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +src +pkg +*.zip +*.zst diff --git a/LICENSE b/LICENSE new file mode 100644 index 0000000..6f8968d --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2025 Pinapelz + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..99d2df6 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Pinapelz +pkgname=kshook-wine +pkgver='1.1' +pkgrel=1 +epoch= +pkgdesc="A helper for setting up and injecting kshook into SDVX KONASTE running in a Wine environment" +arch=('x86_64') +url="https://github.com/pinapelz/kshook-wine" +license=('MIT') +groups=() +depends=( 'bash' 'wine>=9.0' 'curl' ) +makedepends=() +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +changelog= +source=("$url/archive/refs/tags/$pkgver.zip") +#source=("konaste-linux-v${pkgver}.tar.gz") +noextract=() +sha256sums=('9f0e083bcb985120e733cf200e5ac4db498816671877a6acc72be25d6610587a') +validpgpkeys=() + +package() { + cd "$srcdir/$pkgname-$pkgver" + install -Dm755 "$pkgname" "$pkgdir/usr/bin/$pkgname" + install -Dm644 "man/kshook-wine.1" "$pkgdir/usr/share/man/man1/kshook-wine.1" +} -- cgit v1.2.3