desktop/jreen/PKGBUILD
2017-08-05 15:51:07 +01:00

30 lines
779 B
Bash

pkgname=jreen
_name=lib${pkgname}
pkgver=1.3.0
pkgrel=1
pkgdesc="Qt XMPP library"
arch=('x86_64')
url="https://github.com/euroelessar/jreen"
license=('GPL2')
depends=('libidn' 'qca' 'zlib' 'libgsasl' 'speex')
makedepends=('cmake')
conflicts=('jreen-git')
options=(!strip)
source=("https://github.com/euroelessar/$pkgname/archive/v$pkgver.tar.gz")
sha512sums=('7b8267aa7d0e18c28dfeb6a1c7c0495d87bd2712fe10a0c6283f0cf89b72d2c67f98f97a812c9f34496af43eb00ddd94b7e60e942634fb03d0119f94a3d08464')
build() {
cd $srcdir/$pkgname-$pkgver
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
install -d $pkgdir/usr/lib
mv $pkgdir/usr/lib64/* $pkgdir/usr/lib
rmdir $pkgdir/usr/lib64
}