summaryrefslogtreecommitdiff
path: root/extra/racket/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/racket/PKGBUILD')
-rw-r--r--extra/racket/PKGBUILD25
1 files changed, 11 insertions, 14 deletions
diff --git a/extra/racket/PKGBUILD b/extra/racket/PKGBUILD
index c5f3b91ac..333aa390b 100644
--- a/extra/racket/PKGBUILD
+++ b/extra/racket/PKGBUILD
@@ -1,27 +1,21 @@
-# $Id: PKGBUILD 188741 2013-06-19 03:52:40Z eric $
+# $Id: PKGBUILD 192411 2013-08-10 21:15:00Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>
pkgname=racket
-pkgver=5.3.5
+pkgver=5.3.6
pkgrel=1
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')
+depends=('gtk2' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('gsfonts' 'sqlite')
options=('!libtool' '!strip')
install=racket.install
-source=(http://download.racket-lang.org/installers/${pkgver}/racket/${pkgname}-${pkgver}-src-unix.tgz \
- drracket.desktop racket-libpng16.patch)
-sha1sums=('8a895454a9e0fdf689368fa54ce63ba88d432c5e'
- 'a20808f6b250225704856f82a544681a962a299d'
- '5b0260f92fc1ec4dc09d90a5264683bd3b5eed5e')
-
-prepare() {
- cd ${pkgname}-${pkgver}
- patch -p1 -i "${srcdir}/racket-libpng16.patch"
-}
+source=(http://download.racket-lang.org/installers/${pkgver}/racket/${pkgname}-${pkgver}-src-unix.tgz
+ drracket.desktop)
+sha1sums=('783485416359f4fc22da41c5a1a89103e7cb9d95'
+ 'a20808f6b250225704856f82a544681a962a299d')
build() {
cd ${pkgname}-${pkgver}/src
@@ -34,6 +28,9 @@ package() {
cd ${pkgname}-${pkgver}/src
make DESTDIR="${pkgdir}" install
- install -D -m644 ../collects/icons/plt.xpm "${pkgdir}/usr/share/pixmaps/drracket.xpm"
+ install -d "${pkgdir}"/usr/share/icons/hicolor/{16x16,32x32,48x48}/apps
+ ln -s /usr/lib/racket/collects/icons/plt-16x16.png "${pkgdir}/usr/share/icons/hicolor/16x16/apps/drracket.png"
+ ln -s /usr/lib/racket/collects/icons/plt-32x32.png "${pkgdir}/usr/share/icons/hicolor/32x32/apps/drracket.png"
+ ln -s /usr/lib/racket/collects/icons/plt-48x48.png "${pkgdir}/usr/share/icons/hicolor/48x48/apps/drracket.png"
install -D -m644 "${srcdir}/drracket.desktop" "${pkgdir}/usr/share/applications/drracket.desktop"
}