1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-24 19:55:26 +03:00
aports/community/mpdscribble/APKBUILD
2022-12-21 16:20:59 +01:00

36 lines
1.2 KiB
Text

# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer:
pkgname=mpdscribble
pkgver=0.24
pkgrel=4
pkgdesc="last.fm client for mpd"
options="!check" # No test target
url="https://github.com/MusicPlayerDaemon/mpdscribble"
arch="all"
license="GPL-2.0-or-later"
makedepends="meson libmpdclient-dev curl-dev libgcrypt-dev boost-dev"
subpackages="$pkgname-doc $pkgname-openrc"
source="https://www.musicpd.org/download/mpdscribble/$pkgver/mpdscribble-$pkgver.tar.xz
gcc12.patch
mpdscribble.initd
"
build() {
abuild-meson \
-Dsystemd=disabled \
-Dtest=false \
-Dsyslog=enabled \
. output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
install -D -m755 "$srcdir"/mpdscribble.initd "$pkgdir"/etc/init.d/mpdscribble
}
sha512sums="
cca57f54f69ec1c870805cc58057e6325b6f5897370c315dcd6a64c5dd28ac07fdbddaa8b56f8c1fd88e71d27505f1a87decd68fbdff1f3fe1eaadec8ae80dae mpdscribble-0.24.tar.xz
466326c17b00b988f805e2a5c9156ce0dca974c5abad235cbf93477a87a571e05e2359cae8b6d0db438c5923e3b7ca605ea9ff0e261c27265b68e830dda8c606 gcc12.patch
b82d3e5678aba145a5c8d172ebf74960d164e3e934426cc755948d795743bb07158f502705d40c1730a40b6a6d73e84c5792419adaf6ab83ec7c33756f0abb43 mpdscribble.initd
"