blob: fa025b4fe648b63ad6053115b89a6d8f2437cccb (
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
|
# Maintainer: Tyler Anderson <unlimitedbacon@gmail.com>
pkgname=stl-thumb-kde
pkgver=0.5.0
pkgrel=1
license=('MIT')
pkgdesc="KDE/KIO plugin for stl-thumb, a fast lightweight thumbnail generator for STL files"
url='https://github.com/unlimitedbacon/stl-thumb-kde'
source=(git+https://github.com/unlimitedbacon/stl-thumb-kde.git)
depends=('stl-thumb' 'kio' 'qt6-base')
makedepends=('extra-cmake-modules')
arch=("x86_64")
sha256sums=('SKIP')
build() {
cd "${srcdir}/${pkgname}"
rm -rf build
mkdir build
cd build
cmake -DCMAKE_BUILD_TYPE=Release ..
make
}
package() {
cd "${srcdir}/${pkgname}"
install -Dm755 build/stlthumbnail.so "${pkgdir}/usr/lib/qt6/plugins/kf6/thumbcreator/stlthumbnail.so"
}
|