blob: 20e85719a791107f90d2f0992c58e276c9107672 (
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
|
# Maintainer: <ayedeil at posteo dot com>
pkgname=bricklink-studio
pkgver=2.24.1_1
pkgrel=1
pkgdesc="Lego cad software created by Bricklink"
arch=('x86_64')
url="https://www.bricklink.com/v3/studio/download.page"
license=('custom')
depends=('wine')
makedepends=('innoextract')
source=("https://s3.amazonaws.com/blstudio/Studio2.0/Archive/$pkgver/Studio+2.0.exe"
"$pkgname.sh"
"$pkgname.desktop"
"$pkgname.xml")
noextract=("Studio+2.0.exe")
sha256sums=('15e3033f9de579c326b4f4c653a2f1c0a1586b3d4a8eff8512f5e2c4c3564288'
'a6b6ec21561e2a9594d8ba9e7dc496b819060003eef52a98c474f256da626f24'
'0751e793784b23635ac722df64954ad8dc2037e53fdffd79ad513ef0e79ab2de'
'7d3e39b48657b25f93a4e680e4d1473dad004dca8338467028c9aa3dc498326a')
options=(!strip)
prepare() {
innoextract -d "$srcdir" Studio+2.0.exe
}
package() {
install -Dd "$pkgdir/usr/share/$pkgname"
cp -r "$srcdir/app"/* "$pkgdir/usr/share/$pkgname"
install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 "$srcdir/$pkgname.xml" "$pkgdir/usr/share/mime/packages/$pkgname.xml"
}
|