summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO18
-rw-r--r--PKGBUILD25
-rw-r--r--deepnest.install5
3 files changed, 48 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..9e8fcdcece0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,18 @@
+pkgbase = deepnest-bin
+ pkgdesc = An open source nesting application, great for laser cutters, plasma cutters, and other CNC machines
+ pkgver = 1.0.5
+ pkgrel = 1
+ url = https://deepnest.io
+ install = deepnest.install
+ arch = x86_64
+ license = None
+ makedepends = gendesk
+ depends = zlib
+ depends = pango-legacy
+ provides = deepnest
+ options = !strip
+ source = deepnest-bin-1.0.5.zip::https://deepnest.io/Deepnest-1.0.5-linux.zip
+ sha256sums = 54c049da97acc39741a4c960833258b0b2f9772dbdffdc1a27370983a8657a51
+
+pkgname = deepnest-bin
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..4dd33970a2a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
+
+pkgname=deepnest-bin
+pkgver=1.0.5
+pkgrel=1
+pkgdesc='An open source nesting application, great for laser cutters, plasma cutters, and other CNC machines'
+arch=('x86_64')
+url='https://deepnest.io'
+license=('None')
+install=deepnest.install
+depends=('zlib' 'pango-legacy')
+makedepends=('gendesk')
+provides=('deepnest')
+options=('!strip')
+source=("${pkgname}-${pkgver}.zip::https://deepnest.io/Deepnest-${pkgver}-linux.zip")
+sha256sums=('54c049da97acc39741a4c960833258b0b2f9772dbdffdc1a27370983a8657a51')
+
+package() {
+ install -d "${pkgdir}/opt/${pkgname%-bin}"
+ install -Dm755 "${srcdir}/Deepnest-${pkgver}-linux/Deepnest-${pkgver}-x86_64.AppImage" -t "${pkgdir}/opt/${pkgname%-bin}/"
+ echo "#!/usr/bin/env bash
+ LD_LIBRARY_PATH=/opt/pango-legacy/usr/lib /opt/deepnest/Deepnest-${pkgver}-x86_64.AppImage" > deepnest
+ install -Dm755 deepnest -t "${pkgdir}/usr/bin"
+}
+# vim:set ts=2 sw=2 et: \ No newline at end of file
diff --git a/deepnest.install b/deepnest.install
new file mode 100644
index 00000000000..392aad0e692
--- /dev/null
+++ b/deepnest.install
@@ -0,0 +1,5 @@
+# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
+
+post_install() {
+ echo -e "You need to execute '\e[32mdeepnest\e[37m' in a terminal in order to generate a .desktop file."
+} \ No newline at end of file