1
0
mirror of https://github.com/SuperBFG7/ympd synced 2024-12-27 11:20:26 +00:00
ympd/PKGBUILD

39 lines
1.0 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-11-19 19:35:15 +00:00
pkgver=4.6.1
2018-09-13 21:56:07 +00:00
pkgrel=1
2018-10-01 22:14:15 +00:00
pkgdesc="myMPD is a standalone and mobile friendly web mpdclient."
2018-09-13 21:56:07 +00:00
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
}