Add desktop file and git ckecksum and depencies
This commit is contained in:
18
PKGBUILD
18
PKGBUILD
@@ -7,16 +7,18 @@ arch=('x86_64')
|
||||
url="https://github.com/Moulberry/PandoraLauncher"
|
||||
license=('MIT')
|
||||
source=("$pkgname::git+$url.git#tag=v$pkgver")
|
||||
sha256sums=('SKIP')
|
||||
sha256sums=('eb208e1d5f92e31d1b41f42adf0df136a38863474875e760f156a4296186cde4')
|
||||
|
||||
depends=()
|
||||
depends=(
|
||||
'libxkbcommon-x11'
|
||||
'vulkan-tools'
|
||||
'wayland'
|
||||
)
|
||||
makedepends=(
|
||||
'cargo'
|
||||
'mold'
|
||||
'cmake'
|
||||
'util-linux'
|
||||
'xcb-util'
|
||||
'libxkbcommon-x11'
|
||||
'git'
|
||||
)
|
||||
|
||||
export RUSTUP_TOOLCHAIN=stable
|
||||
@@ -35,5 +37,11 @@ build() {
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname"
|
||||
_iconSrc="$srcdir/$pkgname/assets/icons/pandora.svg"
|
||||
|
||||
install -d "${pkgdir}/usr/"{bin,share/{pixmaps,applications}}
|
||||
|
||||
install -Dm755 -t "$pkgdir/usr/bin/" "target/release/$pkgname"
|
||||
install $_iconSrc "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
|
||||
install "$pkgname.desktop" "${pkgdir}/usr/share/applications/${pkgname}.png"
|
||||
}
|
||||
|
||||
9
pandora_launcher.desktop
Normal file
9
pandora_launcher.desktop
Normal file
@@ -0,0 +1,9 @@
|
||||
[Desktop Entry]
|
||||
Name=Pandora Launcher
|
||||
Exec=/usr/bin/pandora_launcher
|
||||
Terminal=false
|
||||
Type=Application
|
||||
Icon=pandora_launcher
|
||||
StartupWMClass=Pandora
|
||||
Comment=An Experimental launcher for Minecraft created by Moulberry
|
||||
Categories=Games;
|
||||
Reference in New Issue
Block a user