desktop/jreen/PKGBUILD

30 lines
779 B
Bash
Raw Normal View History

pkgname=jreen
_name=lib${pkgname}
2015-05-05 01:10:15 +08:00
pkgver=1.2.1
pkgrel=1
pkgdesc="Qt XMPP library"
2013-01-19 02:09:55 +08:00
arch=('x86_64')
url="https://github.com/euroelessar/jreen"
license=('GPL2')
2014-12-17 19:04:44 +08:00
depends=('libidn' 'qca' 'zlib' 'libgsasl' 'speex')
makedepends=('cmake')
conflicts=('jreen-git')
options=(!strip)
2014-12-17 19:04:44 +08:00
source=("https://github.com/euroelessar/$pkgname/archive/v$pkgver.tar.gz")
2015-05-05 01:10:15 +08:00
sha512sums=('3ab28cf2a2c2a595892b15acb9e49c7aa64dbb3b2ac13138ce011b16c2c6b3abeb524231d271fb0f4a6da028548ae6995b34bd70ee9c40fb54e6d64fac2633a2')
build() {
2014-12-17 19:04:44 +08:00
cd $srcdir/$pkgname-$pkgver
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=release
make
}
package() {
2014-12-17 19:04:44 +08:00
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
2015-05-05 01:10:15 +08:00
install -d $pkgdir/usr/lib
mv $pkgdir/usr/lib64/* $pkgdir/usr/lib
rmdir $pkgdir/usr/lib64
}