pkgname=blender pkgver=4.1.1 _pkgver=4.1 pkgrel=1 pkgdesc="A fully integrated 3D graphics creation suite" arch=('x86_64') license=('GPL') url="https://www.blender.org" depends=('desktop-file-utils' 'shared-mime-info' 'hicolor-icon-theme' 'xdg-utils') source=("https://download.blender.org/release/Blender${_pkgver}/${pkgname}-${pkgver}-linux-x64.tar.xz") #source=("https://builder.blender.org/download/daily/${pkgname}-${_pkgver}.tar.xz") sha256sums=('ab2ea3fe991601a5e6bd2cda786ecaa919c0b39e0550e59978b5d40270c260d3') package() { cd ${pkgname}-${pkgver}-linux-x64 install -dm755 ${pkgdir}/{usr/bin,opt/blender} cp -r ${srcdir}/${pkgname}-${pkgver}-linux-x64/* ${pkgdir}/opt/blender ln -s /opt/${pkgname}/blender ${pkgdir}/usr/bin/blender mkdir -p ${pkgdir}/usr/share/icons/hicolor/scalable/apps install -m 644 -p blender.svg ${pkgdir}/usr/share/icons/hicolor/scalable/apps/blender.svg install -Dm644 blender.desktop ${pkgdir}/usr/share/applications/blender.desktop }