desktop/tools-pkg-akabeiclient/PKGBUILD
totte 961cfc61e8 Merge branch 'unstable' into testing
Conflicts:
	apper/PKGBUILD
	avogadro/PKGBUILD
	calligra-l10n/PKGBUILD
	calligra/PKGBUILD
	digikam/PKGBUILD
	freerdp/PKGBUILD
	kapudan/PKGBUILD
	kde-baseapps-konsole/PKGBUILD
	kde-gtk-config/PKGBUILD
	kde-l10n/PKGBUILD
	kde-plasma-themes/PKGBUILD
	kde-runtime/PKGBUILD
	kde-sc.md5
	kde-workspace/PKGBUILD
	kdeedu-kalzium/PKGBUILD
	kdegames-kigo/PKGBUILD
	kdegames-libkdegames/PKGBUILD
	kdemultimedia-thumbnailers/PKGBUILD
	kdenetwork-kopete/PKGBUILD
	kdenetwork-kopete/kdenetwork.install
	kdepimlibs/PKGBUILD
	kdeplasma-applets-networkmanagement/PKGBUILD
	kdeplasma-applets-plasma-nm/PKGBUILD
	kdeutils-ark/PKGBUILD
	kdewebdev/PKGBUILD
	kscreen/PKGBUILD
	libkscreen/PKGBUILD
	libxklavier/PKGBUILD
	nepomuk-core/PKGBUILD
	partitionmanager/PKGBUILD
	support-pkg-meanwhile/PKGBUILD
	system-config-printer/PKGBUILD
	tools-pkg-akabeiclient/PKGBUILD
	tools-pkg-akabeicore/PKGBUILD
	tribe-partitionmanager/PKGBUILD
	tribe/PKGBUILD
	xscreensaver/PKGBUILD
2014-03-10 12:40:09 +01:00

59 lines
1.4 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# Maintainer (i686): Phil Miller <philm@chakra-project[dog]org>
# Maintainer (x86_64): Manuel Tortosa <manutortosa@chakra-project@org>
# Include global configuration
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=akabeiclient
pkgver=20110407
pkgrel=1
pkgdesc="Akabeis Client"
url="http://gitorious.org/chakra/akabeiclient"
license="GPL"
arch=('i686' 'x86_64')
depends=('sqlite3' 'qt' 'libarchive' "akabeicore=${pkgver}" 'kdepimlibs')
makedepends=('cmake')
options=('!header' 'debug')
source=("http://chakra-project.org/sources/${pkgname}/${pkgname}-${pkgver}-${pkgrel}.tar.xz")
md5sums=('5e998e6552e00b6dd65ca67c89627c60')
groups=('akabei')
mksource() {
rm -vRf ${pkgname}
git clone git://gitorious.org/chakra/${pkgname}.git
rm -vRf ${pkgname}/.git
pushd ${pkgname}
popd
tar -cvJf ${pkgname}-${pkgver}-${pkgrel}.tar.xz ${pkgname}/*
md5sum ${pkgname}-${pkgver}-${pkgrel}.tar.xz
}
# build function
build()
{
cd "${srcdir}/$pkgname"
cmake . -DCMAKE_INSTALL_PREFIX=${_installprefix} \
-DCMAKE_BUILD_TYPE=${_build_type} \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed'
msg "Starting make..."
make
}
package()
{
cd "${srcdir}/$pkgname"
msg "Make successful, installing..."
make DESTDIR=$startdir/pkg install
# remove nasty files
find $startdir/pkg/ -name ".git" -type d -exec rm -fr {} +
}