Commit 7de164d6 authored by totte's avatar totte

Tweak PKGBUILDs

parent 187784cc
#
# Akabei Packages for Chakra, part of chakra-project.org
#
# maintainer: Lukas Appelhans
pkgname=('akabei')
......
#
# Akabei Packages for Chakra, part of chakra-project.org
#
# maintainer: Lukas Appelhans <boom1992@chakra-project.org>
pkgname=('akabeiclient')
......
# maintainer Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Contributors: H W Tovetjärn (totte) <totte@tott.es>
pkgname=akonadi
pkgver=1.10.2
pkgrel=2
pkgver=1.11.0
pkgrel=1
pkgdesc="PIM layer, which provides an asynchronous API to access all kind of PIM data"
arch=('x86_64')
url='http://www.akonadi-project.org'
license=('LGPL')
depends=('shared-mime-info' 'boost-libs' 'mariadb' 'soprano>=2.7.56')
makedepends=('pkg-config' 'cmake' 'automoc4' 'boost' 'postgresql')
optdepends=('postgresql: PostgreSQL backend')
install=$pkgname.install
source=("http://download.kde.org/stable/akonadi/src/${pkgname}-${pkgver}.tar.bz2")
sha1sums=('97660e2a4fc8797ae86ac2981490d3868c6085ff')
sha1sums=('a118e097c0b021434874ebfbf6a36c98e87f6f0b')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
cd ${srcdir}
mkdir -p build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE
make
cd ${srcdir}/${pkgname}-${pkgver}
cd ${srcdir}
mkdir -p build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DINSTALL_QSQLITE_IN_QT_PREFIX=TRUE
make
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer: Giuseppe Cal <jiveaxe@gmail.com>
pkgname=apper
......
#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas[at]chakra-project[dog]org>
......
......@@ -2,7 +2,7 @@
# maintainer abveritas@chakra-project.org
# maintainer Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=bluedevil
......
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=caledonia-colors
......
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgbase=calligra-l10n
......
......@@ -143,9 +143,9 @@ package_calligra-tools() {
make DESTDIR="${pkgdir}" install
}
#### package common files #####
#### package common files ####
#### package apps and their docs #####
#### package apps and their docs ####
package_calligra-karbon() {
pkgdesc="Create scalable vector drawings"
......
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# (c) 2010 Drake Justice
......
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=("chakra-wallpapers-dharma")
......
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# (c) 2010 Drake Justice
......
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=gluon
......
#
# Desktop Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
# contributor Xiao-Long Chen <chenxiaolong@cxl.epac.to>
......
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=gpsd
......
#
# 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
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=indilib
......
#
# Desktop Packages for Chakra, part of chakra-project.org
#
# maintainer abveritas@chakra-project.org
pkgname=js
......
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname="kactivities"
......
#
# Desktop Packages for Chakra, part of chakra-project.org
#
# Maintainer: george <george[at]chakra-project.org>
......
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kde-base-artwork
......
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kde-baseapps-konsole
......
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=('kde-baseapps-kwrite')
......
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgbase="kde-baseapps"
......
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Maintainer: Manuel Tortosa <manutortosa@chakra-project.org>
# Contributors: H W Tovetjärn (totte) <totte@tott.es>
# include global config
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# original name (used for the source and pkgnames)
_origname=common
pkgname=kde-common
arch=('x86_64')
pkgver=${_kdever}
pkgrel=1
pkgdesc="KDE SC - Common Configuration Files, Scripts and Artwork"
pkgdesc="KDE common configuration files, scripts and artwork"
url="http://www.kde.org"
license=('GPL')
options=('!debug' '!header' 'strip')
groups=("kde" "kde-minimal" "kde-uninstall")
# also add some obvious dependencies here, as there are users out there who dont update such stuff
depends=("${_qtpkg}>=${_qtver}" 'pinentry' 'openssh' 'bash>=4.2' 'glibc>=2.15')
provides=('tcp_wrappers')
install=kde-common.install
source=(http://www.kde-apps.org/CONTENT/content-files/48411-rootactions_servicemenu_2.4.10.tar.gz
servicemenu-copy-path.desktop
http://www.kde-apps.org/CONTENT/content-files/102825-compressattach.desktop.bz2
servicemenu-rootactions.patch
Chakra-Bugs.desktop
Chakra-ChangeLog.desktop
Chakra-Code.desktop
Chakra-Documentation.desktop
Chakra-Donate.desktop
Chakra-Forum.desktop
Chakra-Homepage.desktop
Chakra.directory
chakra-config-updater.sh
chakra-update-icons.sh
chakra-update-mime.sh
chakra-update-sycoca.sh
chakra-update-user-sycoca.sh
chakra-sysinfo.sh
chakra-backup.sh
Chakra-backup.desktop
updates.conf
chakra-icons.tar.gz
agent-startup.sh
agent-shutdown.sh)
servicemenu-copy-path.desktop
http://www.kde-apps.org/CONTENT/content-files/102825-compressattach.desktop.bz2
servicemenu-rootactions.patch
Chakra-Bugs.desktop
Chakra-ChangeLog.desktop
Chakra-Code.desktop
Chakra-Documentation.desktop
Chakra-Donate.desktop
Chakra-Forum.desktop
Chakra-Homepage.desktop
Chakra.directory
chakra-config-updater.sh
chakra-update-icons.sh
chakra-update-mime.sh
chakra-update-sycoca.sh
chakra-update-user-sycoca.sh
chakra-sysinfo.sh
chakra-backup.sh
Chakra-backup.desktop
updates.conf
chakra-icons.tar.gz
agent-startup.sh
agent-shutdown.sh)
md5sums=('2afd86671ad0db31718157aecd46d528'
'0fe13835c8d796c9973cda670860ce19'
'630ffe7118eef8608a9e5e393a0b1e12'
......@@ -76,63 +66,63 @@ md5sums=('2afd86671ad0db31718157aecd46d528'
'7daec96c125e1e238a35f31ea4a476f0'
'18e8d01124b19f7df2937c06e177bf7f')
build() {
# install scripts for gpg/ssh-agent
install -D -m 755 -o root -g root $srcdir/agent-startup.sh $pkgdir/etc/kde/env/agent-startup.sh
install -D -m 755 -o root -g root $srcdir/agent-shutdown.sh $pkgdir/etc/kde/shutdown/agent-shutdown.sh
package() {
# Install scripts for gpg/ssh-agent
install -D -m 755 -o root -g root $srcdir/agent-startup.sh $pkgdir/etc/kde/env/agent-startup.sh
install -D -m 755 -o root -g root $srcdir/agent-shutdown.sh $pkgdir/etc/kde/shutdown/agent-shutdown.sh
# Install KDM RC script
#install -D -m755 -o root -g root ${srcdir}/kdm.daemon ${pkgdir}/etc/rc.d/kdm
# install kdm rc script
#install -D -m755 -o root -g root ${srcdir}/kdm.daemon ${pkgdir}/etc/rc.d/kdm
# Install configuration updater scripts
install -D -m755 -o root -g root ${srcdir}/chakra-config-updater.sh ${pkgdir}/usr/bin/chakra-config-updater
install -D -m755 -o root -g root ${srcdir}/chakra-update-icons.sh ${pkgdir}/usr/bin/chakra-update-icons
install -D -m755 -o root -g root ${srcdir}/chakra-update-mime.sh ${pkgdir}/usr/bin/chakra-update-mime
install -D -m755 -o root -g root ${srcdir}/chakra-update-sycoca.sh ${pkgdir}/usr/bin/chakra-update-sycoca
install -D -m755 -o root -g root ${srcdir}/chakra-update-user-sycoca.sh ${pkgdir}/usr/bin/chakra-update-user-sycoca
# install config updater scripts
install -D -m755 -o root -g root ${srcdir}/chakra-config-updater.sh ${pkgdir}/usr/bin/chakra-config-updater
install -D -m755 -o root -g root ${srcdir}/chakra-update-icons.sh ${pkgdir}/usr/bin/chakra-update-icons
install -D -m755 -o root -g root ${srcdir}/chakra-update-mime.sh ${pkgdir}/usr/bin/chakra-update-mime
install -D -m755 -o root -g root ${srcdir}/chakra-update-sycoca.sh ${pkgdir}/usr/bin/chakra-update-sycoca
install -D -m755 -o root -g root ${srcdir}/chakra-update-user-sycoca.sh ${pkgdir}/usr/bin/chakra-update-user-sycoca
# install sysinfo script
install -D -m755 -o root -g root ${srcdir}/chakra-sysinfo.sh ${pkgdir}/usr/bin/chakra-sysinfo
# Install sysinfo script
install -D -m755 -o root -g root ${srcdir}/chakra-sysinfo.sh ${pkgdir}/usr/bin/chakra-sysinfo
# install backup script
install -D -m755 -o root -g root ${srcdir}/chakra-backup.sh ${pkgdir}/usr/bin/chakra-backup
install -D -m644 -o root -g root ${srcdir}/Chakra-backup.desktop ${pkgdir}/usr/share/applications/kde4/Chakra-backup.desktop
# Install backup script
install -D -m755 -o root -g root ${srcdir}/chakra-backup.sh ${pkgdir}/usr/bin/chakra-backup
install -D -m644 -o root -g root ${srcdir}/Chakra-backup.desktop ${pkgdir}/usr/share/applications/kde4/Chakra-backup.desktop
# install config file for updates
install -D -m755 -o root -g root ${srcdir}/updates.conf ${pkgdir}/etc/chakra/updates.conf
# Install config file for updates
install -D -m755 -o root -g root ${srcdir}/updates.conf ${pkgdir}/etc/chakra/updates.conf
# install root actions service menu
cd ${srcdir}/rootactions_servicemenu_2.4.10/Root_Actions_2.4.10/dolphin-KDE4/
mkdir -p ${pkgdir}/usr/share/kde4/services/ServiceMenus/
install -m755 *.desktop ${pkgdir}/usr/share/kde4/services/ServiceMenus/
# Install root actions service menu
cd ${srcdir}/rootactions_servicemenu_2.4.10/Root_Actions_2.4.10/dolphin-KDE4/
mkdir -p ${pkgdir}/usr/share/kde4/services/ServiceMenus/
install -m755 *.desktop ${pkgdir}/usr/share/kde4/services/ServiceMenus/
cd ${srcdir}/rootactions_servicemenu_2.4.10/Root_Actions_2.4.10
patch -p2 < ${srcdir}/servicemenu-rootactions.patch
install -Dm755 rootactions-servicemenu.pl ${pkgdir}/usr/bin/rootactions-servicemenu.pl
install -Dm755 rootactions-servicemenu.pl ${pkgdir}/usr/bin/rootactions-servicemenu.pl
sed "s~Icon=terminal~Icon=utilities-terminal~g" -i ${pkgdir}/usr/share/kde4/services/ServiceMenus/10-rootactionsfolders.desktop
sed "s~Icon=terminal~Icon=utilities-terminal~g" -i ${pkgdir}/usr/share/kde4/services/ServiceMenus/11-rootactionsfiles.desktop
# install all other service menus
install -m755 ${srcdir}/servicemenu-copy-path.desktop ${pkgdir}/usr/share/kde4/services/ServiceMenus/copy-path.desktop
install -m755 ${srcdir}/102825-compressattach.desktop ${pkgdir}/usr/share/kde4/services/ServiceMenus/compress-attach.desktop
# Install all other service menus
install -m755 ${srcdir}/servicemenu-copy-path.desktop ${pkgdir}/usr/share/kde4/services/ServiceMenus/copy-path.desktop
install -m755 ${srcdir}/102825-compressattach.desktop ${pkgdir}/usr/share/kde4/services/ServiceMenus/compress-attach.desktop
sed "s~Icon=attach~Icon=mail-attachment~g" -i ${pkgdir}/usr/share/kde4/services/ServiceMenus/compress-attach.desktop
# install chakra icons
cd ${srcdir}/chakra-icons/
mkdir -p ${pkgdir}/usr/share/icons/hicolor/scalable/apps/
for n in flat shiny smooth shield; do
for i in 128 64 48 32 22 16; do
mkdir -p ${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/
install -D -m755 chakra-${n}-${i}.png ${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/chakra-${n}.png
done
install -D -m755 chakra-${n}.svgz ${pkgdir}/usr/share/icons/hicolor/scalable/apps/chakra-${n}.svgz
done
# install menu entries
cd ${srcdir}
install -m755 -d ${pkgdir}/usr/share/desktop-directories
install -m755 -d ${pkgdir}/usr/share/applications/kde4
install -m755 -d ${pkgdir}/usr/share/pixmaps
install -m644 Chakra*.desktop ${pkgdir}/usr/share/applications/kde4
install -m644 Chakra.directory ${pkgdir}/usr/share/desktop-directories/
# Install Chakra icons
cd ${srcdir}/chakra-icons/
mkdir -p ${pkgdir}/usr/share/icons/hicolor/scalable/apps/
for n in flat shiny smooth shield; do
for i in 128 64 48 32 22 16; do
mkdir -p ${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/
install -D -m755 chakra-${n}-${i}.png ${pkgdir}/usr/share/icons/hicolor/${i}x${i}/apps/chakra-${n}.png
done
install -D -m755 chakra-${n}.svgz ${pkgdir}/usr/share/icons/hicolor/scalable/apps/chakra-${n}.svgz
done
# Install menu entries
cd ${srcdir}
install -m755 -d ${pkgdir}/usr/share/desktop-directories
install -m755 -d ${pkgdir}/usr/share/applications/kde4
install -m755 -d ${pkgdir}/usr/share/pixmaps
install -m644 Chakra*.desktop ${pkgdir}/usr/share/applications/kde4
install -m644 Chakra.directory ${pkgdir}/usr/share/desktop-directories/
}
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname="kde-dev-scripts"
......
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname="kde-dev-utils"
......
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer: abveritas[at]chakra-project[dog]org>
# include global config
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=kde-kdm-themes-dharma
......
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer: abveritas[at]chakra-project[dog]org>
# include global config
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
#
# package info
#
pkgname=kde-ksplash-themes
pkgver=1.5
pkgrel=1
......@@ -56,9 +56,9 @@ md5sums=(
#_gitroot="git://git.chakra-project.org/artwork/ksplash-themes.git"
#_gitname="ksplash-themes"
#
# build function
#
build() {
echo "Let's go"
......@@ -75,16 +75,16 @@ build() {
# fi
# msg "GIT checkout done or server timeout"
# msg "Starting make..."
#
# rm -rf "${srcdir}/$_gitname-build"
# cp -r "${srcdir}/$_gitname" "${srcdir}/$_gitname-build"
}
#
# split-install functions
#
package_kde-ksplash-themes-crunchy-branch-blue()
......
#
# KDE SC 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
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
......@@ -14,9 +14,9 @@ _origname=kde-l10n
#
# package info
#
pkgbase=('kde-l10n')
pkgname=('kde-l10n-ar'
'kde-l10n-bg'
......@@ -215,9 +215,9 @@ sha1sums=(`grep kde-l10n-ar-${pkgver}.tar.bz2 ../checksums.txt | cut -d" " -f1`
`grep kde-l10n-zh_TW-${pkgver}.tar.bz2 ../checksums.txt | cut -d" " -f1`
"d018134b1f2eed859624f3014b12bed6")
#
# build function
#
build()
{
cd $startdir/src/
......@@ -305,9 +305,9 @@ packs=('ar'
#
# split-install functions
#
package_kde-l10n-ar()
{
pkgdesc="KDE language support: Arabic"
......
#
# KDE SC Packages for Chakra, part of chakra-project.org
#
# maintainer: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# How to enable a language:
......@@ -8,16 +8,16 @@
# and enable only languages with more then 80% translation of kde-runtime
# include global config
# Include global configuration
#source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
# original name (used for the source and pkgnames)
_origname=kde-l10n
#