desktop/jreen/PKGBUILD

44 lines
1.2 KiB
Bash
Raw Normal View History

#
# 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
}