Skip to content

@luolimao /realstudio PKGBUILD.sh
Last active

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
/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
# 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 <luolimao+AUR@gmail.com>
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"
}
[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;
# 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
Something went wrong with that request. Please try again.