blob: 26b2a3f50c7cc2f99521a5aff2056d7ae339f3ca (
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: acxz <akashpatel2008 at yahoo dot com>
# Contributor: Hilton Medeiros <medeiros.hilton@gmail.com>
pkgname=angelscript
pkgver=2.36.1
pkgrel=1
pkgdesc="An extremely flexible cross-platform scripting library."
arch=('i686' 'x86_64')
url="http://angelcode.com/angelscript/"
license=('custom:ZLIB')
depends=('gcc-libs')
source=("http://angelcode.com/angelscript/sdk/files/${pkgname}_${pkgver}.zip"
LICENSE)
sha512sums=('d6d213ce72135c89e47e67521f654611ff67673f3decd9db3da4b7bf317a04a3f91c5c6ae36658ec3f2b20498facd069af02a91255a24ec79c96d8c90d6b554e'
'523a6ded94dab26ebc1fc5ed39346b950afea1dae1a51c5f262242de1ad86ce921d462b430825bd7a0ca7bb2d501b85e60f39732c3e1d948e1f0182cc9c691a1')
build() {
cd "$srcdir/sdk/angelscript/projects/gnuc"
make all
}
package() {
cd "$srcdir/sdk/angelscript/projects/gnuc"
install -d "$pkgdir"/usr/share/{licenses,doc}/$pkgname \
"$pkgdir"/usr/share/$pkgname \
"$pkgdir"/usr/share/doc/$pkgname/articles
make PREFIX="/usr" DESTDIR="$pkgdir" install
msg "Installing add-ons..."
cd "$srcdir/sdk"
cp -rf add_on "$pkgdir/usr/share/$pkgname/"
msg "Installing documentation and license..."
cd "$srcdir/sdk/docs"
cp -rf * "$pkgdir/usr/share/doc/$pkgname"
install -Dm644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname"
}
|