desktop/krecipes/PKGBUILD
2015-01-12 05:53:08 +00:00

39 lines
1.1 KiB
Bash

#
# Chakra Packages for Chakra, part of chakraos.org
#
# Maintainer: Jeff Huang <s8321414[at]gmail[dot]com>
# Contributor: Phil Miller <philm[at]chakra-project[dog]org>
# Contributor: Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# Contributor: Giuseppe Calà <jiveaxe@gmail.com>
pkgname=krecipes
pkgver=2.0.0
pkgrel=1
pkgdesc="A tool designed to make organizing your personal recipes collection fast and easy."
arch=('i686' 'x86_64')
url="http://extragear.kde.org/apps/krecipes/"
license=('GPL')
depends=('kde-runtime' 'qimageblitz' 'hicolor-icon-theme')
makedepends=('cmake' 'automoc4' 'docbook-xsl')
optdepends=('mariadb' 'postgresql')
categories=('utils')
install=${pkgname}.install
source=(http://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver-1.tar.xz)
md5sums=('dbd40f4352ce885ff0e81242c69bf0fc')
build() {
cd ${srcdir}
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make || return 1
}
package() {
cd ${srcdir}/build
make DESTDIR=${pkgdir} install
}