summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 195cd55975e06f5826748b08610c43a98483c394 (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.0
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.0-2/mpd-rich-presence_0.7.0-2_linux_arm64.tar.gz")
sha256sums_aarch64=('177cd6b1bb76b7367d2b4c9bc9ff7a461b593cacffaa7c7d9668c0daf35e95b7')

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

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"
}