diff options
author | Alexis | 2024-04-02 04:03:51 -0400 |
---|---|---|
committer | Alexis | 2024-04-02 04:03:51 -0400 |
commit | 1abeec4b0b8975078fff48f74a6393179cf51cd7 (patch) | |
tree | 7a81e8dfc235af1401f499c633ad90b549e46a8c | |
parent | efe5ae8f685e94443128f5496e647e2a009a101f (diff) | |
download | aur-1abeec4b0b8975078fff48f74a6393179cf51cd7.tar.gz |
fix desktop icon
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 9 insertions, 2 deletions
@@ -1,13 +1,14 @@ pkgbase = catgirl-engine-git pkgdesc = A game engine for cool moddability and procedurally generated data pkgver = v0.12.30.r20.g9e0dc34 - pkgrel = 1 + pkgrel = 2 url = https://github.com/lexi-the-cute/catgirl-engine arch = any license = Zlib makedepends = git makedepends = rust makedepends = cargo-nightly + makedepends = sed provides = catgirl-engine=v0.12.30 conflicts = catgirl-engine source = git+https://github.com/lexi-the-cute/catgirl-engine.git @@ -6,7 +6,7 @@ arch=('any') license=(Zlib) url="https://github.com/lexi-the-cute/catgirl-engine" pkgver=v0.12.30.r20.g9e0dc34 -pkgrel=1 +pkgrel=2 provides=("catgirl-engine=${pkgver%%.r*}") conflicts=(catgirl-engine) source=("git+https://github.com/lexi-the-cute/catgirl-engine.git") @@ -16,6 +16,7 @@ makedepends=( "git" "rust" "cargo-nightly" + "sed" ) # Automatically updates pkgver variable @@ -49,5 +50,10 @@ check() { # Packages built files package() { cd "catgirl-engine" + sed -i "s/\${engine_path}/\/usr\/bin\/catgirl-engine/" client/assets/resources/catgirl-engine.desktop + mv client/assets/vanilla/texture/logo/logo.png client/assets/vanilla/texture/logo/catgirl-engine.png + + install -Dm0755 -t "$pkgdir/usr/share/icons" "client/assets/vanilla/texture/logo/catgirl-engine.png" + install -Dm0755 -t "$pkgdir/usr/share/applications/" "client/assets/resources/catgirl-engine.desktop" install -Dm0755 -t "$pkgdir/usr/bin/" "target/release/catgirl-engine" } |