2014-01-13 00:22:06 +08:00
|
|
|
# Maintainer: H W Tovetjärn (totte) <totte@tott.es>
|
|
|
|
# Contributors: Manuel Tortosa <manutortosa@chakra-project.org>
|
2013-12-18 02:36:04 +08:00
|
|
|
|
|
|
|
# Include global configuration
|
2013-06-26 04:40:55 +08:00
|
|
|
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
|
|
|
|
_pkgname="ksystemlog"
|
|
|
|
pkgname="kdeadmin-ksystemlog"
|
|
|
|
arch=('x86_64')
|
|
|
|
pkgver=${_kdever}
|
2014-02-01 19:24:18 +08:00
|
|
|
pkgrel=1
|
2013-06-26 04:40:55 +08:00
|
|
|
pkgdesc="Log viewer"
|
|
|
|
screenshot="http://www.kde.org/images/screenshots/ksystemlog.png"
|
|
|
|
depends=("kde-runtime>=${_kdever}")
|
2014-01-13 05:14:23 +08:00
|
|
|
groups=("kdeadmin"
|
|
|
|
"kde"
|
|
|
|
"kde-uninstall")
|
2013-06-26 04:40:55 +08:00
|
|
|
conflicts=("kdeadmin-doc")
|
|
|
|
categories=('system')
|
|
|
|
url="http://www.kde.org/"
|
2014-01-13 05:14:23 +08:00
|
|
|
license=('GPL'
|
|
|
|
'LGPL'
|
|
|
|
'FDL')
|
2013-06-26 04:40:55 +08:00
|
|
|
install=kdeadmin.install
|
2014-01-13 05:14:23 +08:00
|
|
|
options=('docs'
|
|
|
|
'!header'
|
|
|
|
'debug'
|
|
|
|
'log')
|
|
|
|
makedepends=('pkg-config'
|
|
|
|
'cmake'
|
|
|
|
'automoc4'
|
|
|
|
'docbook-xsl')
|
2013-06-26 04:40:55 +08:00
|
|
|
source=("$_mirror/${_pkgname}-$_kdever.tar.xz"
|
|
|
|
"syslog-path.patch")
|
2014-01-11 20:59:04 +08:00
|
|
|
sha256sums=(`grep ${_pkgname}-$_kdever.tar.xz ../checksums.txt | cut -d " " -f1`
|
2014-01-13 08:32:18 +08:00
|
|
|
'0bad624230db4c9805bc3854941b8518b0cc4744813659b86a6d93303aa48f53')
|
2013-06-26 04:40:55 +08:00
|
|
|
|
2014-01-13 05:14:23 +08:00
|
|
|
prepare() {
|
|
|
|
rm -rf "${srcdir}/build"
|
|
|
|
mkdir "${srcdir}/build"
|
|
|
|
}
|
|
|
|
|
2013-06-26 04:40:55 +08:00
|
|
|
build() {
|
2014-01-13 05:14:23 +08:00
|
|
|
cd "${srcdir}/build"
|
2013-06-26 04:40:55 +08:00
|
|
|
cmake ../${_pkgname}-${pkgver} \
|
|
|
|
-DCMAKE_BUILD_TYPE=${_build_type} \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=${_installprefix} \
|
|
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
|
|
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd ${srcdir}/build
|
2014-01-13 01:48:04 +08:00
|
|
|
make DESTDIR=${pkgdir} install
|
2013-06-26 04:40:55 +08:00
|
|
|
}
|