blob: 289cb0f3e4032e4d88de6bff6ac7c4b941c9030a (
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
|
# Maintainer: <ayedeil at posteo dot com>
pkgname=bricklink-studio
pkgver=2.24.4_4
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=("$pkgname-$pkgver.exe::https://s3.amazonaws.com/blstudio/Studio2.0/Archive/$pkgver/Studio+2.0.exe"
"$pkgname.sh"
"$pkgname.desktop"
"$pkgname.xml"
"icon.png")
noextract=("$pkgname-$pkgver.exe")
sha256sums=('29b00368f04544ac4d9ebdbb3fa9b59c473520e547273f95aaaba45c5153302f'
'a6b6ec21561e2a9594d8ba9e7dc496b819060003eef52a98c474f256da626f24'
'cd760f9ad2a3210359ff6c0862cc3aa548a78a81246962748896f624364da47b'
'799ebcbfd268cba96294f128abb2ea4b24f6841a8ee4863a10ef4ad4912419f3'
'edfb03fbc30b6c39d0a63e5e04296a58439db44e2bc50434c270cdf441978927')
options=(!strip)
prepare() {
innoextract -d "$srcdir" "$pkgname-$pkgver.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"
install -Dm644 "$srcdir/icon.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/$pkgname.png"
install -Dm644 "$srcdir/icon.png" "$pkgdir/usr/share/icons/hicolor/256x256/apps/application-bricklink-studio-model.png"
}
|