aboutsummaryrefslogtreecommitdiffstats
path: root/community/ympd/APKBUILD
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-03-02 12:38:54 -0300
committerLeo <thinkabit.ukim@gmail.com>2020-03-02 13:59:38 -0300
commitb9ced6593a9e3fa58bc72824d98410779b358fde (patch)
tree95fc5d79f829e3a75c2b9197c69c93f6b0f893c3 /community/ympd/APKBUILD
parente5b413ac6b66bb9c6c7a34b4778e25a1ce3a6699 (diff)
downloadaports-b9ced6593a9e3fa58bc72824d98410779b358fde.tar.gz
aports-b9ced6593a9e3fa58bc72824d98410779b358fde.tar.bz2
aports-b9ced6593a9e3fa58bc72824d98410779b358fde.tar.xz
community/ympd: modernize
Diffstat (limited to 'community/ympd/APKBUILD')
-rw-r--r--community/ympd/APKBUILD18
1 files changed, 7 insertions, 11 deletions
diff --git a/community/ympd/APKBUILD b/community/ympd/APKBUILD
index e1f70d3858..bb5249b2d3 100644
--- a/community/ympd/APKBUILD
+++ b/community/ympd/APKBUILD
@@ -2,27 +2,23 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=ympd
pkgver=1.3.0
-pkgrel=8
+pkgrel=9
pkgdesc="A standalone MPD Web GUI"
url="https://www.ympd.org/"
arch="all"
license="GPL-2.0-or-later"
makedepends="cmake libmpdclient-dev openssl-dev"
install="$pkgname.pre-install"
-subpackages="$pkgname-doc"
-source="ympd-${pkgver}.tar.gz::https://github.com/notandy/ympd/archive/v$pkgver.tar.gz
+subpackages="$pkgname-doc $pkgname-openrc"
+source="ympd-$pkgver.tar.gz::https://github.com/notandy/ympd/archive/v$pkgver.tar.gz
$pkgname.initd
$pkgname.confd"
-prepare() {
- default_prepare
- mkdir -p "$builddir"/build
-}
-
build() {
- cd build
- cmake .. -DCMAKE_INSTALL_PREFIX:PATH=/usr
- make
+ cmake -B build . \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=None
+ make -C build
}
package() {