makedeb


openutau-bin 0.1.2-1


Open source UTAU successor

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for openutau-bin.

# Maintainer: hiddeninthesand <hiddeninthesand at protonmail dot com>

# AUR Maintainer: Nyaacinth <nyaacinth_liota@outlook.com>

# Notice: This PKGBUILD may break often! See https://github.com/stakira/OpenUtau/issues/293
pkgname='openutau-bin'
pkgver='0.1.2'
pkgrel='1'
pkgdesc="Open source UTAU successor"
arch=("x86_64")
url="https://github.com/stakira/OpenUtau"
license=("MIT")
provides=("openutau")
source=("https://github.com/stakira/OpenUtau/releases/download/build/${pkgver}/OpenUtau-linux-x64.tar.gz"
        "openutau.sh"
        "openutau.svg"
        "openutau.desktop")
b2sums=('54be4e2e031fe7bfb781c55d6998a8270e5cf8a8b46071d5a0b8f8f73009a1cf84cb1dfe8b95e35060d91176b1c976673ae984bd4b511350c43aea8dc94db881'
        '554d8e84ed94fb574e72598d53d8649b6e230916f617f5f576f15f41b294cbb0a17fae8387118e7011be32192392a6a768250436660c9cedcc19fdff2cee20e9'
        'ca36996bbbcf8045c103fca717843f3c5585ebd5fe1c031a01c29a5edd5291bfe0c7206fa3c3b6c277b6832e7c35b4bee8af9768766116d981e9506d83c23166'
        '961f2c28d73bfbe1be6c5ca31304b734448033c534903c321f62a6663f14689be0d7e681381d5516c3f480989f31898e1c2dc5c28404a00baf316bf76342c890')

package() {
    install -d "${pkgdir}/opt/openutau"
    tar -xzf "${srcdir}/OpenUtau-linux-x64.tar.gz" --directory "${pkgdir}/opt/openutau"
    install -Dm644 "${srcdir}/openutau.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/openutau.svg"
    install -Dm755 "${srcdir}/openutau.sh" "${pkgdir}/usr/bin/openutau"
    install -Dm755 "${srcdir}/openutau.desktop" "${pkgdir}/usr/share/applications/openutau.desktop"
}