Files
4fury-c3440d8 9d1a8ce050 ymuse.
2022-09-24 08:50:28 +03:00

20 lines
612 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file https://www.gnu.org/licenses/gpl-3.0.txt
from pisi.actionsapi import shelltools, pisitools, get
def setup():
shelltools.system("go generate")
def build():
shelltools.system("go build")
def install():
pisitools.dobin("ymuse")
pisitools.insinto("/usr/share/applications", "resources/*.desktop")
shelltools.copytree("resources/icons", "%s/%s/icons" % (get.installDIR(), get.dataDIR()))
shelltools.copytree("resources/i18n/generated", "%s/%s/locale" % (get.installDIR(), get.dataDIR()))