aboutsummaryrefslogtreecommitdiffstats
path: root/community/quassel/APKBUILD
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-03-11 21:48:40 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-03-11 21:49:01 +0000
commit6fb41bd0f49135e822d085d396c2758f691e4150 (patch)
treef49242a0910b8d4a8d789cede36bbf0b79d91752 /community/quassel/APKBUILD
parent2c1d00d4f2e00bd37f8e35b7aea97d9f2fd5ead9 (diff)
downloadaports-6fb41bd0f49135e822d085d396c2758f691e4150.tar.bz2
aports-6fb41bd0f49135e822d085d396c2758f691e4150.tar.xz
community/quassel: add openrc subpkg
Diffstat (limited to 'community/quassel/APKBUILD')
-rw-r--r--community/quassel/APKBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/community/quassel/APKBUILD b/community/quassel/APKBUILD
index 6ef3899766..7fde84fdca 100644
--- a/community/quassel/APKBUILD
+++ b/community/quassel/APKBUILD
@@ -12,7 +12,7 @@ install="quassel-core.pre-install"
depends="quassel-common"
makedepends="qt5-qtbase-dev qt5-qtscript-dev cmake dbus-dev openssl-dev paxmark
zlib-dev"
-subpackages="$pkgname-common::noarch $pkgname-core $pkgname-client"
+subpackages="$pkgname-common::noarch $pkgname-core $pkgname-openrc $pkgname-client"
source="https://www.quassel-irc.org/pub/quassel-$pkgver.tar.bz2
quasselcore.confd
quasselcore.initd"
@@ -39,6 +39,11 @@ package() {
cd "$srcdir"/build
make DESTDIR="$pkgdir" install/fast
paxmark -m "$pkgdir"/usr/bin/quasselcore
+
+ install -Dm0644 "$srcdir"/quasselcore.confd \
+ "$pkgdir"/etc/conf.d/quasselcore
+ install -Dm0755 ${srcdir}/quasselcore.initd \
+ "$pkgdir"/etc/init.d/quasselcore
}
common() {
@@ -54,10 +59,6 @@ core() {
depends="$pkgname-common"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/quasselcore "$subpkgdir"/usr/bin/
- install -Dm0644 "$srcdir"/quasselcore.confd \
- "$subpkgdir"/etc/conf.d/quasselcore
- install -Dm0755 ${srcdir}/quasselcore.initd \
- "$subpkgdir"/etc/init.d/quasselcore
}
client() {