blob: aa40ce2322a5b62f225d72551f600eb6315a4ff3 (
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
40
41
42
43
44
45
46
47
48
49
50
51
52
|
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
# Contributor: Wilson E. Alvarez <wilson.e.alvarez1@gmail.com>
# Contributor: Michael Straube <michael_straube web de>
# Contributor: Etzos <supercodingmonkey @ gmail.com>
# Contributor: Gordin <9ordin @t gmail dot com>
# Contributor: Geequlim <geequlim@gmail.com>
# Contributor: Antti Juhani Oja <antti.oja@gmail.com>
pkgname=spriteilluminator
pkgver=1.5.4
pkgrel=1
pkgdesc="Tool for creating Normal Maps, also known as Dot3 Bump Maps, which generate a 2.5D effect in different game engines including Cocos2D-X"
arch=('x86_64')
url="http://www.codeandweb.com/$pkgname"
license=("custom:$pkgname")
install="$pkgname.install"
depends=('shared-mime-info' 'hicolor-icon-theme' 'desktop-file-utils' 'grantlee'
'gcc-libs-multilib' 'qt5-svg' 'qt5-declarative' 'qt5-imageformats'
'qt5-quickcontrols')
source=("https://www.codeandweb.com/download/$pkgname/${pkgver}/SpriteIlluminator-${pkgver}-ubuntu64.deb")
sha256sums=("0498c4d058d30ec42b241b6a86c53e9ecf183bd80cb64b691e54b347ea7f4156")
build() {
ar -x "SpriteIlluminator-${pkgver}-ubuntu64.deb"
}
package() {
cd ${srcdir}/
# Extract to the $pkgdir.
tar xJf data.tar.xz -C "${pkgdir}/"
# Enter $pkgdir.
cd ${pkgdir}/usr/lib/$pkgname/
# FIXME: There's a symbol in the spriteilluminator Qt library that's not in
# the official repository. Double check if we can use the Qt library from
# the official repository on future versions
## Delete all the extra lib folders.
#rm -rf generic/ grantlee/ iconengines/ imageformats/ platforminputcontexts/ platforms/ \
# QtGraphicalEffects/ QtQml/ QtQuick/ QtQuick.2/ xcbglintegrations/
## Delete the useless lib files.
#rm -rf libGrantlee* libicudata* libicui18n* libicuuc* libQt5*
## Get rid of the Qt configuration that messes up LD_LIBRARY_PATH.
#rm -rf qt.conf
install -Dm644 "${pkgdir}/usr/share/$pkgname/documents/LicenseAgreement.txt" \
"${pkgdir}/usr/share/licenses/${pkgname}/LicenseAgreement.txt"
}
|