desktop/kraft/PKGBUILD

36 lines
958 B
Bash
Raw Normal View History

2013-10-14 01:41:51 +08:00
pkgname=kraft
2018-10-19 20:03:17 +08:00
pkgver=0.82
2018-04-04 11:24:59 +08:00
pkgrel=1
2013-10-14 01:41:51 +08:00
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')
2018-04-04 11:24:59 +08:00
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')
2018-10-19 20:03:17 +08:00
md5sums=('bc24c79e0a518d17ae245205a64ca4c1'
2018-04-04 11:24:59 +08:00
'fed2110cb8eeb93f85a9e0c8604265eb')
2013-10-14 01:41:51 +08:00
2016-05-18 10:00:56 +08:00
prepare() {
2018-04-04 11:24:59 +08:00
cd "${srcdir}/${pkgname}-${pkgver}"
2013-10-14 01:41:51 +08:00
rm -rf build
mkdir -p build
2018-04-04 11:24:59 +08:00
cd build
2016-05-18 10:00:56 +08:00
}
build() {
2018-04-04 11:24:59 +08:00
cd "${srcdir}/${pkgname}-${pkgver}/build"
cmake ".." \
-Wno-dev \
2013-10-14 01:41:51 +08:00
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
2018-04-04 11:24:59 +08:00
cd "${srcdir}/${pkgname}-${pkgver}/build"
2013-10-14 01:41:51 +08:00
make "DESTDIR=${pkgdir}" install
}