diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b83321417eb5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,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-1/mpd-rich-presence_0.7.0-1_linux_arm64.tar.gz") +sha256sums_aarch64=('8eda0ee553cb33dd485419cd4718e1c24ae60fcf23024c15f0c650e5d9ff19bd') + +source_x86_64=("${pkgname}_${pkgver}_x86_64.tar.gz::https://github.com/nekowinston/mpd-rich-presence/releases/download/v0.7.0-1/mpd-rich-presence_0.7.0-1_linux_amd64.tar.gz") +sha256sums_x86_64=('eee53637a054a1f2da5d41eaa30bb31798842b625b4c5c83382db9c812655670') + +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" +} |