mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
44 lines
1.3 KiB
Bash
44 lines
1.3 KiB
Bash
#
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
#
|
|
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
|
|
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
|
|
|
|
pkgname=kmess
|
|
pkgver=2.0.6.2
|
|
pkgrel=3
|
|
pkgdesc="KMess is a MSN Messenger client for Linux."
|
|
arch=('i686' 'x86_64')
|
|
url="http://kmess.sourceforge.net/"
|
|
license=('GPL')
|
|
depends=('libxss' 'libxslt' 'giflib' 'kdebase-runtime' 'xdg-utils' 'qt')
|
|
makedepends=('automoc4' 'cmake' 'docbook-xsl')
|
|
optdepends=('cabextract: provides winks support')
|
|
categories=('communication')
|
|
install="kmess.install"
|
|
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
|
|
# "http://lekensteyn.nl/files/kmess/follow-location-redirects.patch")
|
|
md5sums=('a2e57911713308bef81b9347135cc5dd')
|
|
# '73cda6f36eda602fc0ce9e23051e603a')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
# Patch for fixing the latest connection issues.
|
|
# Should be removed when this gets integrated in a new release.
|
|
# See http://kmess.org/board/viewtopic.php?f=4&t=20549&start=15
|
|
# patch -Np1 -i "${srcdir}/follow-location-redirects.patch"
|
|
|
|
mkdir -p build
|
|
cd build
|
|
|
|
cmake ../ -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}/build"
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|