added PKGBUILD and updated config location

This commit is contained in:
CPTN Cosmo 2026-01-10 01:33:26 +01:00
parent 6878c8b77d
commit efb7e52a14
No known key found for this signature in database
6 changed files with 65 additions and 9 deletions

30
PKGBUILD Normal file
View file

@ -0,0 +1,30 @@
# Maintainer: Cosmo
pkgname=xivlauncher-wrapper
pkgver=0.1.0
pkgrel=1
pkgdesc="Wrapper for XIVLauncher with OTP injection"
arch=('any')
url="https://github.com/goatcorp/XIVLauncher.Core"
license=('MIT')
depends=('python' 'xivlauncher')
optdepends=()
makedepends=('git')
source=("xivlauncher-wrapper.desktop"
"xivlauncher-wrapper.png"
"wrapper.py"
"config.example.json")
sha256sums=('SKIP' 'SKIP' 'SKIP' 'SKIP')
package() {
# Install the wrapper script
install -Dm755 "${srcdir}/wrapper.py" "${pkgdir}/usr/bin/${pkgname}"
# Install the desktop file
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
# Install the icon
install -Dm644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
# Install example config
install -Dm644 "${srcdir}/config.example.json" "${pkgdir}/usr/share/doc/${pkgname}/config.example.json"
}