summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0b4a79938488ea1312011f1f6db7f577c43462a1 (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
# Maintainer: swweetp <swweetp@outlook.com>
# Contributor: Emanuele 'Lele aka eldios' Calo' <xeldiosx@gmail.com>
# Contributor: Fabien Devaux <fdev31@gmail.com>

pkgname=ideamaker
pkgver=5.1.4
_pkgverminor=8480
pkgrel=2
pkgdesc="Fast and user friendly 3D slicer for FDM printers"
arch=('x86_64')
url="https://www.raise3d.com/pages/ideamaker"
license=('custom')
depends=('mesa-libgl' 'desktop-file-utils' 'libxcrypt-compat')
makedepends=()
source_x86_64=("https://downcdn.raise3d.com/ideamaker/release/${pkgver}-fix/ideaMaker_${pkgver}.${_pkgverminor}-ubuntu_amd64.deb")
sha256sums_x86_64=('bce887a9d7a0147a80d4f618bed5c1412225f8e56ada8c804fcd1916d688c65f')


package() {
    tar xf "$srcdir/data.tar.xz" -C "${pkgdir}"
    mkdir -p "${pkgdir}/usr/bin"
    ln -fs "/usr/lib/x86_64-linux-gnu/ideamaker/ideamaker-start.sh" "${pkgdir}/usr/bin/ideamaker"
    install -Dm644 "${pkgdir}/usr/share/ideamaker/License.rtf" -t "${pkgdir}/usr/share/licenses/${pkgname}/"
}