diff options
author | Harrison | 2022-01-24 11:58:26 -0500 |
---|---|---|
committer | Harrison | 2022-01-24 11:58:26 -0500 |
commit | e4caca6a69ee6e2ee4e60b4090514b92e9dc7b47 (patch) | |
tree | 0102cf71335c916330b892518e46b4e782eede46 /PKGBUILD | |
parent | 922a6eff23f26c6c00aecd34fd3d6684fc3691b9 (diff) | |
download | aur-e4caca6a69ee6e2ee4e60b4090514b92e9dc7b47.tar.gz |
Fix version + add scalable icon
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 15 insertions, 14 deletions
@@ -2,38 +2,39 @@ pkgname=funkin-rewritten pkgver=1.1.0_beta.2 -pkgrel=1 +pkgrel=2 pkgdesc="Optimized rewrite of Friday Night Funkin' built on LÖVE" arch=("any") -url="https://github.com/HTV04/funkin-rewritten" +url="https://github.com/HTV04/${pkgname}" license=("GPL3") depends=("love") makedepends=("git" "zip") -source=("git+https://github.com/HTV04/funkin-rewritten.git" - "funkin-rewritten.sh" - "funkin-rewritten.desktop") +source=("git+https://github.com/HTV04/${pkgname}.git?tag=v1.1.0-beta.2" + "funkin_rewritten.svg" + "${pkgname}.sh" + "${pkgname}.desktop") sha256sums=("SKIP" + "2ea6c47142059be0ee1d26faa0b708d4cc3a3bd910990662bf2c1a34de5359ac" "073dc0138f7a3d4686f7a764ad98baf6e2d133de43ee199d8ccd562ba26490d5" - "7a069ea2dccc9e5eaa18f9415dce2fccb22ded8d0b3b8e89122866829b2ec046") + "d35252269bf75fbbd1d30708f259c74efcdaec41bb6cb017b83e7588c2e41b0c") build() { # Build LOVE file - pushd "${srcdir}/funkin-rewritten" > /dev/null + pushd "${srcdir}/${pkgname}" > /dev/null make lovefile popd > /dev/null } package() { - pushd "${srcdir}/funkin-rewritten" > /dev/null - # Install funkin-rewritten LOVE file - install -Dm0644 build/lovefile/funkin-rewritten.love "${pkgdir}/usr/share/${pkgname}/funkin-rewritten.love" - - popd > /dev/null + install -Dm0644 "${srcdir}/${pkgname}/build/lovefile/funkin-rewritten.love" "${pkgdir}/usr/share/${pkgname}/funkin-rewritten.love" + # Install icon + install -Dm0644 funkin_rewritten.svg "${pkgdir}/usr/share/icons/hicolor/scalable/apps/funkin_rewritten.svg" + # Install launcher script as binary - install -Dm0755 funkin-rewritten.sh "${pkgdir}/usr/bin/${pkgname}" + install -Dm0755 ${pkgname}.sh "${pkgdir}/usr/bin/${pkgname}" # Install desktop file - install -Dm0644 funkin-rewritten.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop" + install -Dm0644 ${pkgname}.desktop "${pkgdir}/usr/share/applications/${pkgname}.desktop" } |