2 # Dolphin Packages Kde-mod, part of chakra-project.org
4 # maintainer Vania Rupeni <vania.rupeni@gmail.com>
11 pkgname=('dolphin-kdemod')
13 arch=('i686' 'x86_64')
17 pkgdesc="split package"
18 url="http://www.kde.org"
19 license=('GPL' 'LGPL' 'FDL')
23 makedepends=("kdebase-workspace>=${_kdever}" 'pkgconfig' 'cmake' 'automoc4' 'libraw1394' 'ruby') # 'opencv'
25 source=("http://download.kde.org/stable/4.6.0/src/kdebase-4.6.0.tar.bz2"
26 http://kde-apps.org/CONTENT/content-files/99752-kde_cdemu-0.3.tar.gz
27 02_dolphin_properties.patch
28 03_konsole_defaults.patch)
30 md5sums=('7d2d176c57f2e914acc89c39351ce5aa'
31 'f98c26deff86b32a26e0238896d49382' # 99752-kde_cdemu-0.3.tar.gz
32 '92a47ed820a541b34dd220e1da5649b7' # 02_dolphin_properties.patch
33 '8ab6f508a4e04517dd51ac3ab2eb01ef') # 03_konsole_defaults.patch
37 cd ${_origname}-${pkgver}
40 if [ "$_branchupdate" = "yes" ] ; then
41 msg "applying branch update ..."
42 pushd apps &>/dev/null
43 patch -p0 -i $startdir/branch-update-r*.patch || return 1
46 warning "branch updates disabled ..."
47 warning "if you want to make use of it, run branch_updater.sh"
48 warning "and enable branch updates in _/buildsystem/kdemod.conf"
51 msg "applying main patchset ..."
52 patch -Np1 -i ${startdir}/02_dolphin_properties.patch || return 1
53 patch -Np1 -i ${startdir}/03_konsole_defaults.patch || return 1
54 msg "starting build ..."
55 cmake . -DCMAKE_BUILD_TYPE=${_build_type} \
56 -DCMAKE_INSTALL_PREFIX=${_installprefix} \
57 -DCMAKE_SKIP_RPATH=ON \
58 -DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
63 package_kdebase-dolphin() {
64 pkgdesc='File Manager'
65 depends=('kdebase-runtime' 'kdebase-lib')
66 optdepends=('ruby: servicemenu installation')
67 url="http://kde.org/applications/system/dolphin/"
68 cd $srcdir/build/apps/dolphin
69 make DESTDIR=$pkgdir install
70 cd $srcdir/build/apps/doc/dolphin
71 make DESTDIR=$pkgdir install