blob: 5f55bee4619ce81130286a6772625cc5d2bf4cb8 (
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
25
26
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: jdigi78 <jdigiovanni78 at gmail dot com>
pkgname=crocotile3d
pkgver=2.3.0
pkgrel=1
_install_location='/usr/share'
source=("https://jdigi.net/AUR/Crocotile3D/Crocotile3D_v${pkgver}_linux64.tar.gz"
"${pkgname}.desktop"
"${pkgname}.png")
sha256sums=('ae00bf5fd2c23e6170dc0a0dff703bb662ea22c2161e7b0980e89bc7eba440eb'
SKIP
SKIP)
pkgdesc='Tile-based 3D modeling application'
arch=('x86_64')
url="https://www.crocotile3d.com/"
license=('Unknown')
options=(!strip)
package() {
# Install program
install -d "${pkgdir}${_install_location}/${pkgname}"
cp -ar Crocotile3D_v${pkgver}_linux64/* "${pkgdir}${_install_location}/${pkgname}/"
chmod -R 755 "${pkgdir}${_install_location}/${pkgname}"
# Symlink executable
mkdir -p "${pkgdir}/usr/bin"
ln -s "${_install_location}/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
# Install desktop entry
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm644 "${srcdir}/${pkgname}.png" "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
}
|