Distribution specific information
This page contains information specific to certain distributions. Please note that this information is mainly for developers and some testers.
Arch Linux
This PKGBUILD allows you to compile and install your local KMess sourcetree as a valid Pacman package using Makepkg.
Editing the "srcdir"-variable to point to your kmess tree is most likely the only change you should make to the file
The source directory needs to be a SVN directory. Furthermore you should have run ./configure or cmake prior to creating the package. (see documentation for more information)
Then run makepkg -i. This generates a package with a name like "kmess-svn-4963-1-i686.pkg.tar.gz". The first number is the SVN revision, the second one is increased when you reinstall the same revision.
# By Ruben Vandamme <ruben@kmess....>
# PKGBUILD version 2
# Based upon the AUR version
# !! This PKGBUILD should only be used for KMess development.
# !! If you are an end-user, please check AUR
srcdir=$HOME/kmess
pkgname=kmess-svn
pkgver=`cd $srcdir && svn info | grep Revision: | sed -e s/Revision:\ //`
previouspkgver=`pacman -Q $pkgname | sed -e s/$pkgname\ // -e s/-[0-9]*//`
previouspkgrel=`pacman -Q $pkgname | sed -e s/$pkgname\ [0-9]*-//`
if [[ "$previouspkgver" == "" || "$previouspkgver" < "$pkgver" ]]; then
pkgrel=1
else
pkgrel=$((previouspkgrel + 1))
fi
pkgdesc="A full-featured MSN Client for KDE - SVN version"
url="http://www.kmess.org/"
arch=('i686' 'x86_64')
license=('GPL')
depends=('kde-meta-kdebase' 'libxss' 'qca-ossl')
makedepends=('cmake' 'subversion' 'automoc4')
optdepends=('cabextract: Winks support'
'flashplugin: Winks support')
conflicts=('kmess')
options=(!strip)
build() {
cd $srcdir
make || return 1
make DESTDIR=${pkgdir} install
}
