summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 55484006b902ad30b1178ca163015a46b226dd9d (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
37
38
39
# Maintainer: Andrew Dunai <andrew@dun.ai>
pkgname=voxelshop
_pkgname_upper=VoxelShop
pkgver=1.8.02
pkgrel=1
pkgdesc='VoxelShop is an extremely intuitive and powerful cross-platform software to modify and create voxel objects was designed from the ground up in close collaboration with artists.'
url=http://blackflux.com/node/11
license=('custom')
groups=()
depends=('java-runtime-common')
makedepends=()
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=
changelog=
source=(
  'voxelshop'
  'https://github.com/simlu/voxelshop/releases/download/1.8.02/VoxelShop-java-all-os-fast.zip'
)
noextract=()
sha256sums=('69ff1076bf585855c81862b06bf50bd67621ac435d0c0f4a2ac3d19aa31317aa'
            '86c1fd50ef32b17be92df37d6a5c2206e456d99bc7abe4da80a44f49d2a377d3')
arch=('any')

package() {
  mkdir -p ${pkgdir}/opt/
  chmod 755 ${srcdir}/${_pkgname_upper}/*.sh
  cp -r ${srcdir}/${_pkgname_upper} ${pkgdir}/opt/${pkgname}
  chown -R $USER:users ${pkgdir}/opt/${pkgname}
  install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
  ln -s ${pkgname} ${pkgdir}/usr/bin/${_pkgname_upper}

  cd ${srcdir}/${_pkgname_upper}
  install -D License.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}