1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-11-10 16:19:54 +00:00
ympd/PKGBUILD

39 lines
1.1 KiB
Bash
Raw Normal View History

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-24 22:44:28 +00:00
pkgver=4.3.0
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
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"
/usr/share/mympd/crcert.sh
2018-09-13 21:56:07 +00:00
}