blob: 84ef8058c2e5f9b71e3425ddb595bffe1622b10e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Daniel Schopf <schopf.dan at gmail dot com>
pkgname=plasma6-applets-qalculate
pkgver=0.10.0
pkgrel=2
pkgdesc="Qalculate! applet for the KDE plasma desktop"
url="https://github.com/dschopf/plasma-applet-qalculate"
replaces=('plasma5-applets-qalculate')
license=('MIT')
depends=('libqalculate' 'plasma-workspace')
makedepends=('cmake' 'extra-cmake-modules')
arch=('i686' 'x86_64')
source=("$pkgname-$pkgver.tar.gz::https://github.com/dschopf/plasma-applet-qalculate/archive/v$pkgver.tar.gz")
sha256sums=('f4ac97ac7bf6342319616ab5ad3af776a51130fc0aa86909997b2c907dab690e')
build() {
mkdir build
cd build
cmake "../plasma-applet-qalculate-$pkgver" \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
make
}
package() {
mkdir -p "$pkgdir/usr/share/licenses/$pkgname"
cp "plasma-applet-qalculate-$pkgver/COPYING" "$pkgdir/usr/share/licenses/$pkgname/"
cd build
make DESTDIR="$pkgdir" install
}
|