desktop/qxmpp/PKGBUILD
2016-02-14 09:07:31 +00:00

36 lines
809 B
Bash

# Contributions from Arch:
# Maintainer: Spike29 <leguen.yannick@gmail.com>
# Contributor: Samir Faci <csgeek@archlinux.us>
# Contributor: Timothée Ravier <tim@siosm.fr>
pkgname=qxmpp
pkgver=0.9.3
pkgrel=1
pkgdesc='Cross-platform C++ XMPP client and server library'
arch=('x86_64')
url='https://github.com/qxmpp-project/qxmpp'
license=('LGPL2.1')
depends=('qt5-base' 'opus' 'speex' 'libvpx' 'libtheora')
source=("https://github.com/qxmpp-project/qxmpp/archive/v$pkgver.tar.gz")
sha1sums=('f9391bedd5153ae19f68f25276bf2624c5020d09')
prepare() {
mkdir -p build
}
build() {
cd build
qmake-qt5 PREFIX=/usr ../$pkgname-$pkgver \
QXMPP_USE_OPUS=1 \
QXMPP_USE_SPEEX=1 \
QXMPP_USE_THEORA=1 \
QXMPP_USE_VPX=1
make
}
package() {
cd build
make INSTALL_ROOT="$pkgdir" install
}