mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-25 02:52:13 +08:00
33 lines
968 B
Bash
33 lines
968 B
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>
|
|
|
|
pkgname=krecipes
|
|
pkgver=2.0alpha6
|
|
_pkgver=2.0-alpha6
|
|
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=('kdebase-runtime' 'qimageblitz' 'hicolor-icon-theme')
|
|
makedepends=('cmake' 'automoc4')
|
|
optdepends=('mysql' 'postgresql')
|
|
install=${pkgname}.install
|
|
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${_pkgver}.tar.gz)
|
|
md5sums=('88758447440595b6d31fdbaf491ac464')
|
|
|
|
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
|
|
}
|