pkgname=kraft pkgver=0.80 pkgrel=1 pkgdesc="A program suitable for all trades or crafts" arch=('x86_64') url="http://www.volle-kraft-voraus.de/" screenshot="http://kde-apps.org/content/preview.php?preview=3&id=54172&file1=54172-1.jpg&file2=54172-2.jpg&file3=54172-3.jpg&name=Kraft" license=('GPL') depends=('akonadi-contacts' 'ctemplate' 'python3-reportlab') makedepends=('cmake' 'extra-cmake-modules') source=("https://github.com/dragotin/kraft/archive/v${pkgver}.tar.gz" 'allow-duplicate-cmake-targets.patch') md5sums=('8afff9d693461091964ac2ef2b156392' 'fed2110cb8eeb93f85a9e0c8604265eb') prepare() { cd "${srcdir}/${pkgname}-${pkgver}" rm -rf build mkdir -p build cd build } build() { cd "${srcdir}/${pkgname}-${pkgver}/build" cmake ".." \ -Wno-dev \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "${srcdir}/${pkgname}-${pkgver}/build" make "DESTDIR=${pkgdir}" install }