mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
30 lines
779 B
Bash
30 lines
779 B
Bash
pkgname=jreen
|
|
_name=lib${pkgname}
|
|
pkgver=1.2.1
|
|
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=('3ab28cf2a2c2a595892b15acb9e49c7aa64dbb3b2ac13138ce011b16c2c6b3abeb524231d271fb0f4a6da028548ae6995b34bd70ee9c40fb54e6d64fac2633a2')
|
|
|
|
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
|
|
}
|