From 0d7cc2d9361ce66f38d5ef06216bc1e7f6e741d6 Mon Sep 17 00:00:00 2001 From: j-james Date: Mon, 20 Dec 2021 13:45:20 -0800 Subject: Process STL thumbnails using OpenSCAD --- PKGBUILD | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..ad2c40e --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: j-james +pkgname=tumbler-stl-thumbnailer +pkgver=1 +pkgrel=1 +pkgdesc="Custom STL thumbnails for Tumbler" +arch=('any') +url="https://github.com/j-james/thunar-stl-thumbnails" +license=('BSD') +depends=('tumbler' 'openscad') +source=('stl.thumbnailer' + 'stl-thumbnailer.sh') +sha256sums=('fd4a8c44e4a35418e894241a3e6fefcab83279570b5e91296dde1f1179b0a0cc' + '0b6a39b7facae2c7d036a0017010a86f6a3ebcb2a572312174d7d4cff1af8325') + +package() { + install -Dvm644 "stl.thumbnailer" "$pkgdir/usr/share/thumbnailers/stl.thumbnailer" + install -Dvm755 "stl-thumbnailer.sh" "$pkgdir/usr/bin/stl-thumbnailer" +} -- cgit v1.2.3-70-g09d2