Last active
December 13, 2015 18:09
-
-
Save eclairevoyant/4953566 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/home/limao/makepkg/build/pkg/usr/share/applications/realstudio.desktop: error: (will be fatal in the future): value "realstudio.xpm" for key "Icon" in group "Desktop Entry" is an icon name with an extension, but there should be no extension as described in the Icon Theme Specification if the value is not an absolute path |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Ng Oon-Ee <n g o o n e e AT g m a i l DOT c o m> | |
# Contributor: Leonardo Miliani <leonardo at leonardomiliani.com> | |
# Contributor: Limao Luo <[email protected]> | |
pkgname=realstudio | |
pkgver=2012r21 | |
pkgrel=1 | |
pkgdesc="A RAD environment based on BASIC that compiles native applications for Windows, Mac and Linux." | |
arch=(i686 x86_64) | |
url=http://www.realsoftware.com | |
license=(custom) | |
depends=(lib32-oracle-instantclient-basic10) | |
optdepends=('cups: For printing support' | |
'libgtkhtml: Render webpages in the built-in HTML Viewer' | |
'lib32-libgtkhtml: Render webpages in the built-in HTML Viewer on multilib install') | |
install=${pkgname}.install | |
source=(http://realsoftware.cachefly.net/RealStudio${pkgver}/RealStudio${pkgver}.tgz realstudio.desktop) | |
md5sums=('fea7b049fdff358350c25850df5d59c8' | |
'fd0a60e87b6e87bb6fff057d03ebcd68') | |
_srcdirname="RealStudio2012r2.1" | |
if [[ $CARCH == i686 ]]; then | |
depends+=(gtk2 libstdc++5 mesa) | |
else | |
depends+=(lib32-gtk2 lib32-libstdc++5 lib32-mesa) | |
fi | |
package() { | |
cd "$srcdir" | |
install -dv -m755 "${pkgdir}/opt/realsoftware/" | |
cp -a "${_srcdirname}/" "${pkgdir}/opt/realsoftware/RealStudio-${pkgver}" | |
install -Dv -m644 "${_srcdirname}/Read Mes/LicenseAgreement.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LicenseAgreement.txt" | |
install -Dv -m644 ${_srcdirname}/realstudio.xpm ${pkgdir}/usr/share/pixmaps/realstudio.xpm | |
desktop-file-install realstudio.desktop --dir "${pkgdir}/usr/share/applications/" | |
install -dv -m755 "${pkgdir}/usr/bin" | |
ln -s "/opt/realsoftware/RealStudio-${pkgver}/Real Studio" "${pkgdir}/usr/bin/realstudio" | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Name=REAL Studio | |
Comment=A rapid application development environment based on BASIC | |
Icon=realstudio | |
Exec=realstudio | |
Terminal=false | |
Type=Application | |
StartupNotify=true | |
Encoding=UTF-8 | |
Categories=Development; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# arg 1: The new package version | |
post_install() { | |
update-desktop-database -q | |
_VERSION=`echo $1 | cut -f-1 -d '-'` | |
# General info | |
cat <<EOF | |
To launch the IDE, simply type 'realstudio'. | |
RealStudio is no longer free for Linux except for open | |
source projects, see www.realsoftware.com/store/opensource | |
for more details. | |
For printing support in REALStudio you must intall cups. | |
EOF | |
} | |
post_upgrade() { | |
update-desktop-database -q | |
} | |
post_remove() { | |
update-desktop-database -q | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment