[arch-commits] Commit in racket/repos (5 files)

Allan McRae allan at archlinux.org
Thu Apr 26 17:34:57 EDT 2012


    Date: Thursday, April 26, 2012 @ 17:34:57
  Author: allan
Revision: 157301

db-move: moved racket from [staging] to [testing] (i686)

Added:
  racket/repos/testing-i686/
  racket/repos/testing-i686/PKGBUILD
    (from rev 157266, racket/repos/staging-i686/PKGBUILD)
  racket/repos/testing-i686/drracket.desktop
    (from rev 157266, racket/repos/staging-i686/drracket.desktop)
  racket/repos/testing-i686/racket.install
    (from rev 157266, racket/repos/staging-i686/racket.install)
Deleted:
  racket/repos/staging-i686/

------------------+
 PKGBUILD         |   32 ++++++++++++++++++++++++++++++++
 drracket.desktop |    9 +++++++++
 racket.install   |   11 +++++++++++
 3 files changed, 52 insertions(+)

Copied: racket/repos/testing-i686/PKGBUILD (from rev 157266, racket/repos/staging-i686/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD	                        (rev 0)
+++ testing-i686/PKGBUILD	2012-04-26 21:34:57 UTC (rev 157301)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Eric Bélanger <eric at 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"
+}

Copied: racket/repos/testing-i686/drracket.desktop (from rev 157266, racket/repos/staging-i686/drracket.desktop)
===================================================================
--- testing-i686/drracket.desktop	                        (rev 0)
+++ testing-i686/drracket.desktop	2012-04-26 21:34:57 UTC (rev 157301)
@@ -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

Copied: racket/repos/testing-i686/racket.install (from rev 157266, racket/repos/staging-i686/racket.install)
===================================================================
--- testing-i686/racket.install	                        (rev 0)
+++ testing-i686/racket.install	2012-04-26 21:34:57 UTC (rev 157301)
@@ -0,0 +1,11 @@
+post_install() {
+    update-desktop-database -q
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}



More information about the arch-commits mailing list