desktop/kraft/PKGBUILD
2018-10-19 14:03:17 +02:00

36 lines
958 B
Bash

pkgname=kraft
pkgver=0.82
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=('bc24c79e0a518d17ae245205a64ca4c1'
'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
}