diff options
author | root <root@rshg054.dnsready.net> | 2012-04-25 00:01:35 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-25 00:01:35 +0000 |
commit | 98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f (patch) | |
tree | 00d9cdbfdc8ef5d7a4a7159a8c6439008509e662 /staging/racket | |
parent | 9988621f899d7d4ae5fd0a4a32a4ba3abc5a527d (diff) |
Wed Apr 25 00:01:35 UTC 2012
Diffstat (limited to 'staging/racket')
-rw-r--r-- | staging/racket/PKGBUILD | 32 | ||||
-rw-r--r-- | staging/racket/drracket.desktop | 9 | ||||
-rw-r--r-- | staging/racket/racket.install | 11 |
3 files changed, 52 insertions, 0 deletions
diff --git a/staging/racket/PKGBUILD b/staging/racket/PKGBUILD new file mode 100644 index 000000000..5eaf03259 --- /dev/null +++ b/staging/racket/PKGBUILD @@ -0,0 +1,32 @@ +# $Id: PKGBUILD 157106 2012-04-23 23:36:47Z eric $ +# Maintainer: Eric BĂ©langer <eric@archlinux.org> + +pkgname=racket +pkgver=5.2.1 +pkgrel=2 +pkgdesc="A programming language environment (formerly known as PLT Scheme) suitable for tasks ranging from scripting to application development" +arch=('i686' 'x86_64') +url="http://racket-lang.org/" +license=('LGPL') +depends=('gtk2' 'desktop-file-utils') +makedepends=('gsfonts') +options=('!libtool' '!strip') +install=racket.install +source=(http://download.racket-lang.org/installers/${pkgver}/racket/${pkgname}-${pkgver}-src-unix.tgz \ + drracket.desktop) +sha1sums=('a4ea408818236f8eaf937291dd641fd73a997793' + 'a20808f6b250225704856f82a544681a962a299d') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}/src" + [ "$CARCH" == "x86_64" ] && export CFLAGS+="-fPIC" + ./configure --prefix=/usr --enable-shared + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}/src" + make DESTDIR="${pkgdir}" install + install -D -m644 ../collects/icons/plt.xpm "${pkgdir}/usr/share/pixmaps/drracket.xpm" + install -D -m644 "${srcdir}/drracket.desktop" "${pkgdir}/usr/share/applications/drracket.desktop" +} diff --git a/staging/racket/drracket.desktop b/staging/racket/drracket.desktop new file mode 100644 index 000000000..79876de50 --- /dev/null +++ b/staging/racket/drracket.desktop @@ -0,0 +1,9 @@ +[Desktop Entry] +Name=DrRacket +GenericName=IDE for Racket +Comment=DrRacket is an interactive, integrated, graphical programming environment for the Racket programming languages. +Exec=drracket +Terminal=false +Type=Application +Categories=Education;Development; +Icon=drracket diff --git a/staging/racket/racket.install b/staging/racket/racket.install new file mode 100644 index 000000000..660593cf5 --- /dev/null +++ b/staging/racket/racket.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |