summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: fc52709b3490ecc03e5a3503d5e4e9a5372300eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# Maintainer: Torge Matthies <openglfreak at googlemail dot com>

pkgname=osu-handler
pkgdesc='Provides a handler for osu! file formats'
pkgver=0.2
pkgrel=1
arch=(any)
license=(GPL3)
depends=(osu-mime desktop-file-utils)
install='osu-handler.install'
source=(git+https://github.com/openglfreak/osu-handler-wine.git
        osu-file-extensions-handler.desktop)
sha256sums=('SKIP'
            '43f9ce9166b90f1aa47a48f0eab26131274cfaf17dcfe5964ebdb757632c95fb')

build() {
    cd "$srcdir"

    arch-meson osu-handler-wine build -D b_ndebug=true
    meson compile -C build
}

package() {
    cd "$pkgdir"

    install -D -m755 "$srcdir/build/osu-handler-wine" 'usr/lib/osu-handler/osu-handler-wine'
    install -D -m644 "$srcdir/osu-file-extensions-handler.desktop" 'usr/share/applications/osu-file-extensions-handler.desktop'
}