diff options
Diffstat (limited to 'community/quassel/APKBUILD')
-rw-r--r-- | community/quassel/APKBUILD | 25 |
1 files changed, 11 insertions, 14 deletions
diff --git a/community/quassel/APKBUILD b/community/quassel/APKBUILD index 33b04c0c8f..adaedc998d 100644 --- a/community/quassel/APKBUILD +++ b/community/quassel/APKBUILD @@ -2,14 +2,15 @@ pkgname=quassel pkgver=0.13.0 -pkgrel=0 +pkgrel=1 url="http://www.quassel-irc.org/" pkgdesc="Distributed IRC client - metapackage" arch="all" license="GPL" install="quassel-core.pre-install" depends="quassel-common" -makedepends="qt-dev cmake dbus-dev openssl-dev paxmark" +makedepends="qt5-qtbase-dev qt5-qtscript-dev cmake dbus-dev openssl-dev paxmark + zlib-dev" subpackages="$pkgname-common::noarch $pkgname-core $pkgname-client" source="http://www.quassel-irc.org/pub/quassel-$pkgver.tar.bz2 quasselcore.confd @@ -24,23 +25,19 @@ build() { -DCMAKE_INSTALL_PREFIX=/usr/ \ -DWITH_KDE=0 \ -DCMAKE_BUILD_TYPE="Release" \ - -DWITH_OPENSSL=ON \ -DWANT_CORE=ON \ -DWANT_MONO=ON \ -DWANT_QTCLIENT=ON \ - -DWITH_DBUS=OFF \ - -DWITH_OXYGEN=OFF \ - -DWITH_PHONON=OFF \ -DWITH_WEBKIT=OFF \ - -DUSE_QT4=ON \ - ../quassel-$pkgver/ || return 1 + -DUSE_QT4=OFF \ + ../quassel-$pkgver/ make } package() { cd "$srcdir"/build - make DESTDIR="$pkgdir" install/fast || return 1 - paxmark -m "$pkgdir"/usr/bin/quasselcore || return 1 + make DESTDIR="$pkgdir" install/fast + paxmark -m "$pkgdir"/usr/bin/quasselcore } common() { @@ -55,11 +52,11 @@ core() { pkgdesc="Core component of distributed IRC client" depends="$pkgname-common" mkdir -p "$subpkgdir"/usr/bin - mv "$pkgdir"/usr/bin/quasselcore "$subpkgdir"/usr/bin/ || return 1 + mv "$pkgdir"/usr/bin/quasselcore "$subpkgdir"/usr/bin/ install -Dm0644 "$srcdir"/quasselcore.confd \ - "$subpkgdir"/etc/conf.d/quasselcore || return 1 + "$subpkgdir"/etc/conf.d/quasselcore install -Dm0755 ${srcdir}/quasselcore.initd \ - "$subpkgdir"/etc/init.d/quasselcore || return 1 + "$subpkgdir"/etc/init.d/quasselcore } client() { @@ -67,7 +64,7 @@ client() { depends="$pkgname-common" mkdir -p "$subpkgdir"/usr/bin \ "$subpkgdir"/usr/share/ - mv "$pkgdir"/usr/bin/quasselclient "$subpkgdir"/usr/bin/ || return 1 + mv "$pkgdir"/usr/bin/quasselclient "$subpkgdir"/usr/bin/ mv "$pkgdir"/usr/share/pixmaps \ "$pkgdir"/usr/share/applications \ "$subpkgdir"/usr/share/ |