Commit 129f15c2 authored by abveritas's avatar abveritas

Adding kbackup, kradio, rkward

parent 180d7595
#
# 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>
# from AUR package http://aur.archlinux.org/packages.php?ID=6666
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kbackup
pkgver=0.7
pkgrel=1
pkgdesc="Backup program for KDE."
arch=('i686' 'x86_64')
url="http://www.kde-apps.org/content/show.php?content=44998"
license=('GPLv3')
depends=('kdelibs>=4.2' 'docbook-xml')
makedepends=('automoc4' 'cmake')
source=(http://www.kde-apps.org/CONTENT/content-files/44998-$pkgname-$pkgver.tar.bz2)
md5sums=('8fac9adec52fd81ed2eb5edd352c2dce')
build() {
cd $srcdir/$pkgname-$pkgver
mkdir build && cd build
cmake -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` ..
make || return 1
make DESTDIR=$pkgdir install
}
#
# 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>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kradio
_pkgname=kradio4
pkgver=4.0.1
_pkgver=4.0.1-rc1
pkgrel=1
arch=('i686' 'x86_64')
license=('GPL2')
pkgdesc="KRadio is a comfortable KDE radio application"
url="http://kradio.sourceforge.net/"
depends=('lame' 'kdelibs' 'libsndfile' 'lirc-utils' 'libmms')
makedepends=('automoc4' 'cmake')
#options=(!libtool)
source=(http://downloads.sourceforge.net/sourceforge/$pkgname/$_pkgname-$_pkgver.tar.bz2)
md5sums=('a5ae4dd6b95a595ff71571e39f8acd94')
build() {
cd $srcdir/$_pkgname-$_pkgver
mkdir build && cd build
cmake -DCMAKE_SKIP_RPATH=ON -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
make || return 1
}
package() {
cd $srcdir/$_pkgname-$_pkgver/build
make DESTDIR=$pkgdir install
# Changing executable name.
mv $pkgdir/usr/bin/$_pkgname $pkgdir/usr/bin/$pkgname
}
#
# 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>
# from AUR package http://aur.archlinux.org/packages.php?ID=4277
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=rkward
pkgver=0.5.3
pkgrel=1
pkgdesc="Easy to use transparent frontend to R for KDE4"
arch=('i686' 'x86_64')
url="http://rkward.sourceforge.net/"
license=('GPL')
depends=('kdelibs>=4.0.0' 'qt>=4.3' 'r>=2.8.0' 'docbook-xml')
makedepends=('cmake' 'automoc4')
conflicts=('kdemod-rkward<0.5.0')
source=(http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz
${pkgname}-kde-4-5.patch)
md5sums=('1a1fb29b5f59b6150a3fd08bb51672b7'
'7b92988b62939107cdfd5281f8e28ebc')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
# Patch to build with KDE 4.5.x thanx to Rex Dieter
patch -Np1 -i "${srcdir}/${pkgname}-kde-4-5.patch"
cmake -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr"
make
}
package(){
cd "${srcdir}/${pkgname}-${pkgver}"
make install
# Install the rkward R package to installation directory
mkdir -p "${pkgdir}/usr/lib/R/library"
R CMD INSTALL -l "${pkgdir}/usr/lib/R/library" "${srcdir}/${pkgname}-${pkgver}/${pkgname}/rbackend/rpackages/${pkgname}"
rm -vf "${pkgdir}/usr/lib/R/library/R.css"
rm -vf "${pkgdir}/usr/share/apps/katepart/syntax/r.xml"
}
diff -up rkward-0.5.3/doc/rkward/index.docbook.docbook_dtd rkward-0.5.3/doc/rkward/index.docbook
--- rkward-0.5.3/doc/rkward/index.docbook.docbook_dtd 2008-01-21 12:58:24.000000000 -0600
+++ rkward-0.5.3/doc/rkward/index.docbook 2010-06-28 07:44:46.000521291 -0500
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [
+<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY rkward '<application>RKWard</application>'>
<!ENTITY kapp "&rkward;"><!-- replace rkward here -->
<!ENTITY % addindex "IGNORE">
diff -up rkward-0.5.3/doc/rkward/writing_plugins_introduction.docbook.docbook_dtd rkward-0.5.3/doc/rkward/writing_plugins_introduction.docbook
--- rkward-0.5.3/doc/rkward/writing_plugins_introduction.docbook.docbook_dtd 2010-03-04 06:08:32.000000000 -0600
+++ rkward-0.5.3/doc/rkward/writing_plugins_introduction.docbook 2010-06-28 07:45:09.256770072 -0500
@@ -1,5 +1,5 @@
<?xml version="1.0" ?>
-<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.1-Based Variant V1.0//EN" "dtd/kdex.dtd" [
+<!DOCTYPE book PUBLIC "-//KDE//DTD DocBook XML V4.2-Based Variant V1.1//EN" "dtd/kdex.dtd" [
<!ENTITY rkward '<application>RKWard</application>'>
<!ENTITY kapp "&rkward;"><!-- replace rkward here -->
<!ENTITY % addindex "IGNORE">
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment