# $Id: PKGBUILD 93464 2013-07-03 19:08:14Z lcarlier $ # Maintainer: Andrea Scarpino # Contributor: shamrok # Contributor: G_Syme # Contributor: AdriĆ  Arrufat pkgname=krecipes pkgver=2.0beta2 _pkgver=2.0-beta2 pkgrel=4 pkgdesc="A tool designed to make organizing your personal recipes collection fast and easy" arch=('i686' 'x86_64' 'mips64el') url="http://extragear.kde.org/apps/krecipes/" license=('GPL') depends=('kdebase-runtime' 'qimageblitz' 'hicolor-icon-theme') makedepends=('cmake' 'automoc4' 'docbook-xsl') optdepends=('mariadb' 'postgresql') install=${pkgname}.install source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.gz) md5sums=('4c01ccad7ad1409cb35c824a61250fe2') build() { cd ${srcdir} mkdir build cd build cmake ../${pkgname}-${_pkgver} \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd ${srcdir}/build make DESTDIR=${pkgdir} install }