wok-next view adobe-air-sdk/receipt @ rev 20806
I. node update: security -> https://nodejs.org/en/blog/vulnerability/june-2018-security-releases/ 9.5.0 -> 9.11.2 II. add checksum
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Wed Jun 13 08:26:54 2018 +0000 (2018-06-13) |
parents | 14117b014af6 |
children | f48456621a9d |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="adobe-air-sdk"
4 VERSION="2.6"
5 CATEGORY="non-free"
6 SHORT_DESC="Adobe Air Software Development Kit and Runtime Environment"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="custom"
9 WEB_SITE="http://get.adobe.com/air"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://airdownload.adobe.com/air/lin/download/$VERSION/AdobeAIRSDK.tbz2"
14 compile_rules() {
15 mkdir -p \
16 $install/opt/$PACKAGE/ \
17 $install/usr/share/licenses/$PACKAGE/ \
18 $install/usr/share/doc/$PACKAGE-$VERSION/
19 cp -a $src/* $install/opt/$PACKAGE/
20 ln -s "../../../../opt/$PACKAGE/AIR SDK license.pdf" $install/usr/share/licenses/$PACKAGE/
21 ln -s "../../../../opt/$PACKAGE/AIR SDK Readme.txt" $install/usr/share/doc/$PACKAGE-$VERSION/
22 ln -s "../../../../opt/$PACKAGE/samples" $install/usr/share/doc/$PACKAGE-$VERSION/
23 ln -s "../../../../opt/$PACKAGE/templates" $install/usr/share/doc/$PACKAGE-$VERSION/
25 chown -Rch root:root $install
26 chmod -Rc u+w $install
27 }
29 genpkg_rules() {
30 copy @std
31 DEPENDS="nss gtk+ libxslt"
32 }
34 post_install() {
35 cat >> $1/etc/profile <<EOT
36 export AIR_HOME=/opt/$PACKAGE
37 export PATH="\$PATH:\$AIR_HOME/bin"
38 EOT
39 }
41 post_remove() {
42 sed -i '/AIR_HOME/d' $1/etc/profile
43 }