makedeb
Open source UTAU successor
Viewing /PKGBUILD
.
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.119'
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=('7c8a992fc8c960b459c759d19d98d6f54603f0988ec3d7c7be4a0d962b65235c657f16bdc2cd18488edcd13c0b7792159694c4e0c2ee8ec020af4790259be53d'
'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"
}