diff options
author | N3k0-san | 2023-03-13 17:56:04 -0500 |
---|---|---|
committer | N3k0-san | 2023-03-13 17:56:04 -0500 |
commit | 4707a0d54982b7f7c5fcddd863f489a1f3bd5ec9 (patch) | |
tree | c6b7f76c628815586da4d20df016c8beeefe0b05 | |
download | aur-4707a0d54982b7f7c5fcddd863f489a1f3bd5ec9.tar.gz |
Initialized repo
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 46 | ||||
-rw-r--r-- | UKMM.desktop | 8 |
3 files changed, 73 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..254eff60b46a --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,19 @@ +pkgbase = ukmm-git + pkgdesc = U-King Mod Manager is a tool for managing and merging mods for The Legend of Zelda: Breath of the Wild. + pkgver = 0.6.0.r11.gaacbabe + pkgrel = 0 + url = https://github.com/NiceneNerd/ukmm + arch = any + license = GPL3 + makedepends = cargo + makedepends = git + depends = gtk3 + options = !lto + options = !strip + options = debug + source = git+https://github.com/NiceneNerd/ukmm + source = UKMM.desktop + sha256sums = SKIP + sha256sums = 921de35b2a4518ca9f89c1a8020cc1c3bafc24abb559ffb3cf5a1091d61d8aef + +pkgname = ukmm-git diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..799a1f51e2af --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,46 @@ +# Maintainer: Neko-san <nekoNexus at protonmail dot ch> + +_pkgname=ukmm +pkgname=${_pkgname}-git +pkgver=0.6.0.r11.gaacbabe +pkgrel=0 +pkgdesc="U-King Mod Manager is a tool for managing and merging mods for The Legend of Zelda: Breath of the Wild." +arch=('any') +url="https://github.com/NiceneNerd/${_pkgname}" +license=('GPL3') +depends=('gtk3') +makedepends=('cargo' 'git') +optdepends=() +source=("git+${url}" + UKMM.desktop) +sha256sums=('SKIP' + '921de35b2a4518ca9f89c1a8020cc1c3bafc24abb559ffb3cf5a1091d61d8aef') +options=('!lto' '!strip' 'debug') + +prepare() { + cd "$srcdir/${_pkgname}" || return + cargo fetch --locked --target "$(uname -m)-unknown-linux-gnu" +} + +pkgver() { + cd "${_pkgname}" || return + printf "%s" "$(git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')" +} + +build() { + cd "${srcdir}/${_pkgname}" || return + export RUSTUP_TOOLCHAIN=nightly + export CARGO_TARGET_DIR=target + export DEBUG_RUSTFLAGS="-C debuginfo=2 ${DEBUG_RUSTFLAGS}" + cargo build --release +} + +package() { + cd "${srcdir}/${_pkgname}" || return + install -Dm755 "target/release/${_pkgname}" "${pkgdir}/usr/bin/${_pkgname}" + install -Dm755 "assets/${_pkgname}.png" "${pkgdir}/usr/share/pixmaps/${_pkgname}.png" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 ../UKMM.desktop "${pkgdir}/usr/share/applications/UKMM.desktop" + cd "${srcdir}/.." || return + rm -rf "${srcdir}" +} diff --git a/UKMM.desktop b/UKMM.desktop new file mode 100644 index 000000000000..ca35a08e5027 --- /dev/null +++ b/UKMM.desktop @@ -0,0 +1,8 @@ +[Desktop Entry] +Name=UKMM +Comment=U-King Mod Manager is a tool for managing and merging mods for The Legend of Zelda: Breath of the Wild. +Exec=/usr/bin/ukmm %U +Icon=ukmm +Terminal=false +Type=Application +Categories=Utilities; |