2018-09-20 22:04:35 +00:00
|
|
|
# Maintainer: Juergen Mang <mail [at] jcgames [dot] de>
|
2018-09-13 21:56:07 +00:00
|
|
|
# Website: https://github.com/jcorporation/myMPD
|
2018-09-20 22:04:35 +00:00
|
|
|
# PKGBUILD Based on https://github.com/CultofRobots/archphile-custom/tree/master/mympd
|
2018-09-13 21:56:07 +00:00
|
|
|
|
|
|
|
pkgname=mympd
|
|
|
|
_pkgname=myMPD
|
2018-09-20 18:59:08 +00:00
|
|
|
pkgver=4.2.1
|
2018-09-13 21:56:07 +00:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="A standalone MPD Web GUI based on YMPD - Default port set to 80"
|
|
|
|
arch=('x86_64' 'armv7h' 'aarch64')
|
2018-09-13 22:12:43 +00:00
|
|
|
url="http://github.org/jcorporation/myMPD"
|
2018-09-13 21:56:07 +00:00
|
|
|
license=('GPL')
|
|
|
|
depends=('libmpdclient' 'openssl')
|
2018-09-20 22:04:35 +00:00
|
|
|
makedepends=('cmake')
|
2018-09-13 21:56:07 +00:00
|
|
|
optdepends=()
|
|
|
|
provides=()
|
|
|
|
conflicts=()
|
|
|
|
replaces=()
|
|
|
|
install=contrib/archlinux.install
|
2018-09-16 21:22:36 +00:00
|
|
|
source=("https://github.com/jcorporation/${_pkgname}/archive/v${pkgver}.tar.gz")
|
|
|
|
sha256sums=('SKIP')
|
2018-09-13 21:56:07 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/${_pkgname}-${pkgver}"
|
|
|
|
|
|
|
|
[ -d release ] || mkdir release
|
|
|
|
cd release
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DCMAKE_BUILD_TYPE=RELEASE ..
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/${_pkgname}-${pkgver}/release"
|
|
|
|
make DESTDIR="$pkgdir/" install
|
|
|
|
|
|
|
|
install -Dm644 "${srcdir}/${_pkgname}-${pkgver}/contrib/mympd.service" "$pkgdir/usr/lib/systemd/system/mympd.service"
|
2018-09-16 21:22:36 +00:00
|
|
|
/usr/share/mympd/crcert.sh
|
2018-09-13 21:56:07 +00:00
|
|
|
}
|