aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorj-james2021-12-20 21:45:20 +0000
committerj-james2021-12-20 22:43:24 +0000
commit0d7cc2d9361ce66f38d5ef06216bc1e7f6e741d6 (patch)
treedf20baa498fbd5e89ac06d164da099f86484dcbd /PKGBUILD
Process STL thumbnails using OpenSCAD
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD18
1 files changed, 18 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..ad2c40e
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,18 @@
+# Maintainer: j-james <jj@j-james.me>
+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"
+}