mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
34 lines
1.0 KiB
Bash
34 lines
1.0 KiB
Bash
#
|
|
# 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>
|
|
# contributor (x86_64): Giuseppe Calà <jiveaxe@gmail.com>
|
|
|
|
pkgname=krecipes
|
|
pkgver=2.0beta2
|
|
_pkgver=2.0-beta2
|
|
pkgrel=2
|
|
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=('kdebase-runtime' 'qimageblitz' 'hicolor-icon-theme')
|
|
makedepends=('cmake' 'automoc4' 'docbook-xsl')
|
|
optdepends=('mysql' '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_SKIP_RPATH=ON \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install
|
|
}
|