blob: 9ac89c5c478ba09c6936e48d5dcb22f62239bd36 (
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
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# Maintainer: Georg Graßnick <dev.grassnick at mailbox dot org>
pkgname=ymuse
pkgver=0.11
pkgrel=1
pkgdesc="Easy, functional, and snappy client for Music Player Daemon"
arch=(x86_64)
url="https://yktoo.com/en/software/ymuse/"
license=("Apache")
depends=("gtk3")
optdepends=("mpd")
makedepends=("go")
source=(
"${pkgname}-${pkgver}.tar.gz::https://github.com/yktoo/${pkgname}/archive/v${pkgver}.tar.gz"
"ymuse.desktop"
)
sha512sums=(
"9f779ee4f4d542b60877c82f1fe620f22016c841f6f6b39c87e07afb735555cc702bdf06c8ec64e3b519d9d69a6793323ff2702fc25a703d6e4c441dd714a64e"
"dbf124b2be06036faecb0a5af76b6b44bfdfcd7461c69807a6fcfb3008131072412387e888d9c6777ef9549aa2ae1fafb296d904a9b525dff4b09cc36400a6ff"
)
build() {
cd "${pkgname}-${pkgver}"
go generate
go build
}
package() {
cd "${pkgname}-${pkgver}"
install -Dm755 ymuse "${pkgdir}/usr/bin/ymuse"
for file in $(find resources/icons -type f); do
install -Dm644 ${file} "${pkgdir}"/usr/share/icons/${file#resources/icons}
done
for file in $(find resources/i18n -type f -name *.mo); do
install -Dm644 ${file} "${pkgdir}"/usr/share/locale/${file#resources/i18n/generated}
done
install -Dm644 "${srcdir}"/ymuse.desktop -t "${pkgdir}"/usr/share/applications/
}
|