diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 58 |
1 files changed, 29 insertions, 29 deletions
@@ -7,11 +7,11 @@ # Contributor: "donaldtrump" [AUR] pkgname=osu-lazer-git -pkgver=2020.317.0.r26.9b029fa9e +pkgver=2020.523.0.r1.224a3ff462 pkgrel=1 -pkgdesc="An open source, free-to-win rhythm game" +pkgdesc='An open source, free-to-win rhythm game' arch=('i686' 'x86_64' 'arm' 'armv6h' 'armv7h' 'aarch64') -url="https://github.com/ppy/osu" +url='https://github.com/ppy/osu' license=('MIT') groups=() depends=('dotnet-runtime>=3.1' 'ffmpeg' 'libgl') @@ -23,47 +23,47 @@ backup=() options=(!strip) install= source=("$pkgname::git+https://github.com/ppy/osu.git" - 'osu-lazer-git.sh' - 'osu-lazer-git.desktop' - 'osu-lazer-git.xml') + 'osu-lazer-git.sh' + 'osu-lazer-git.desktop' + 'osu-lazer-git.xml') noextract=() sha256sums=('SKIP' 'b0e3f6195988220421bee1484aa4a7260c2861e92fa7b0bf0f3141a60cdc439b' '6e977d250974783ca02a61cb8cad9b1d8683bcb1ee289d9e1ce2b4ad431b9773' - '8e7c18bcb146cf161a84025934ef2cbe9395b0008535faaeaca4bc4d56194f8f') + 'aba4c66694792ec774f14c00961da0f928baba215f03ca889ae6b901ea363af6') pkgver() { - cd "$srcdir/$pkgname" - printf "%s" "$(git describe --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" + cd "$srcdir/$pkgname" + printf "%s" "$(git describe --tags | sed 's/\([^-]*-\)g/r\1/;s/-/./g')" } build() { - cd "$srcdir/$pkgname" - rm -rf compiled - env DOTNET_CLI_TELEMETRY_OPTOUT=1 dotnet publish osu.Desktop \ - --no-self-contained --configuration Release \ - --runtime $(dotnet --info | grep 'RID' | cut -d ':' -f 2 | tr -d '[:space:]') \ - --output compiled + cd "$srcdir/$pkgname" + rm -rf compiled + env DOTNET_CLI_TELEMETRY_OPTOUT=1 dotnet publish osu.Desktop \ + --no-self-contained --configuration Release \ + --runtime $(dotnet --info | grep 'RID' | cut -d ':' -f 2 | tr -d '[:space:]') \ + --output compiled } package() { - # Launcher, Desktop and MIME - cd "$srcdir" - install -Dm755 osu-lazer-git.sh "$pkgdir/usr/bin/${pkgname%-git}" - install -Dm644 osu-lazer-git.desktop \ - "$pkgdir/usr/share/applications/sh.ppy.osu.${pkgname%-git}.desktop" - install -Dm644 osu-lazer-git.xml "$pkgdir/usr/share/mime/packages/${pkgname%-git}.xml" + # Launcher, Desktop and MIME + cd "$srcdir" + install -Dm755 osu-lazer-git.sh "$pkgdir/usr/bin/${pkgname%-git}" + install -Dm644 osu-lazer-git.desktop \ + "$pkgdir/usr/share/applications/sh.ppy.osu.${pkgname%-git}.desktop" + install -Dm644 osu-lazer-git.xml "$pkgdir/usr/share/mime/packages/${pkgname%-git}.xml" - # Runtime and Libraries - cd "$srcdir/$pkgname/compiled" - find . -type f -exec \ - install -Dm644 "{}" "$pkgdir/usr/lib/${pkgname%-git}/{}" \; + # Runtime and Libraries + cd "$srcdir/$pkgname/compiled" + find . -type f -exec \ + install -Dm644 "{}" "$pkgdir/usr/lib/${pkgname%-git}/{}" \; - # Icon and License - cd "$srcdir/$pkgname" - install -Dm644 assets/lazer.png "$pkgdir/usr/share/pixmaps/${pkgname%-git}.png" - install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + # Icon and License + cd "$srcdir/$pkgname" + install -Dm644 assets/lazer.png "$pkgdir/usr/share/pixmaps/${pkgname%-git}.png" + install -Dm644 LICENCE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |