contrib/mpc/Pkgfile

22 lines
719 B
Plaintext
Raw Normal View History

2007-09-07 21:03:58 +02:00
# Description: Command line MPD client
2020-07-12 20:48:11 +02:00
# URL: https://www.musicpd.org/clients/mpc/
2009-12-16 13:25:05 +01:00
# Maintainer: Thomas Penteker, tek at serverop dot de
2007-09-07 21:03:58 +02:00
# Packager: Mark Rosenstand, mark at borkware dot net
2020-06-08 20:17:29 +02:00
# Depends on: libmpdclient meson ninja
# Optional: python3-docutils python3-sphinx
2006-10-22 10:50:02 +02:00
name=mpc
2020-06-08 20:17:29 +02:00
version=0.33
2006-10-22 10:50:02 +02:00
release=1
2013-11-05 09:57:17 +01:00
source=(http://www.musicpd.org/download/mpc/0/mpc-$version.tar.xz)
2006-10-22 10:50:02 +02:00
build() {
2020-06-08 20:17:29 +02:00
# manpages need a new port: python3-docutils
#[[ -e /usr/bin/sphinx-build && -e /usr/bin/rst2man3 ]] && PKGMK_MPC+=" -Ddocumentation=enabled" || PKGMK_MPC+=" -Ddocumentation=disabled"
meson $name-$version build $PKGMK_MPC \
--prefix=/usr
ninja -C build
DESTDIR=$PKG ninja -C build install
2016-05-31 01:18:26 +02:00
rm -rf $PKG/usr/share/doc
2006-10-22 10:50:02 +02:00
}