summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 144bea4b2fee3edcc710d8f3e1036db4c665fdf4 (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
# This file was generated by GoReleaser. DO NOT EDIT.
# Maintainer: nekowinston <hey@winston.sh>
# Contributor: nekowinston <hey@winston.sh>

pkgname='mpd-rich-presence-bin'
pkgver=0.7.1
pkgrel=1
pkgdesc='Service to display the currently playing song in MPD as your Discord Rich Presence.'
url=''
arch=('aarch64' 'x86_64')
license=('MIT')
provides=('mpd-rich-presence')
conflicts=('mpd-rich-presence')
depends=('mpd')

source_aarch64=("${pkgname}_${pkgver}_aarch64.tar.gz::https://github.com/nekowinston/mpd-rich-presence/releases/download/v0.7.1/mpd-rich-presence_0.7.1_linux_arm64.tar.gz")
sha256sums_aarch64=('3a9a3ca1b03f7e163305414f616136fa14c454122a0e19d04f86d150399777ad')

source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/nekowinston/mpd-rich-presence/releases/download/v0.7.1/mpd-rich-presence_0.7.1_linux_amd64.tar.gz")
sha256sums_x86_64=('7eade16015f13fe9269e8e6b98f2fe18a2aaf82534ab48a4b68f4853afa10503')

package() {
  # bin
  install -Dm755 "./mpd-rich-presence" "${pkgdir}/usr/bin/mpd-rich-presence"
  # license
  install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/mpd-rich-presence/LICENSE"
  # service
  install -Dm644 "./mpd-rich-presence.service" "${pkgdir}/usr/lib/systemd/user/mpd-rich-presence.service"
}