30 lines
945 B
Bash
30 lines
945 B
Bash
# 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"
|
|
}
|