mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
44 lines
1.2 KiB
Bash
44 lines
1.2 KiB
Bash
|
#
|
||
|
# Apps SC Packages for Chakra, part of chakra-project.org
|
||
|
#
|
||
|
# maintainer abevritas@chakra-project.org
|
||
|
# contributor kote martini438[at]gmail.com
|
||
|
|
||
|
##############################################################
|
||
|
#### The section below can be adjusted to suit your needs ####
|
||
|
##############################################################
|
||
|
|
||
|
# What type of build do you want?
|
||
|
# See http://techbase.kde.org/Development/CMake/Addons_for_KDE#Buildtypes to check what is supported.
|
||
|
# Default is RelWithDebInfo to help with debugging.
|
||
|
|
||
|
_buildtype="RelWithDebInfo"
|
||
|
|
||
|
##############################################################
|
||
|
|
||
|
pkgname=jreen
|
||
|
_name=lib${pkgname}
|
||
|
pkgver=1.0.5
|
||
|
pkgrel=1
|
||
|
pkgdesc="Qt XMPP library"
|
||
|
arch=('i686' 'x86_64')
|
||
|
url="https://github.com/euroelessar/jreen"
|
||
|
license=('GPL2')
|
||
|
depends=('libidn' 'qca' 'zlib')
|
||
|
makedepends=('cmake')
|
||
|
conflicts=('jreen-git')
|
||
|
options=(!strip)
|
||
|
source=("http://qutim.org/dwnl/33/${_name}-${pkgver}.tar.bz2")
|
||
|
md5sums=('f74492bbdf8e238e281aa1778725e714')
|
||
|
|
||
|
build() {
|
||
|
cd ${srcdir}/${_name}-${pkgver}
|
||
|
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=${_buildtype}
|
||
|
make
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd ${srcdir}/${_name}-${pkgver}
|
||
|
make DESTDIR=${pkgdir} install
|
||
|
}
|