summaryrefslogtreecommitdiff
path: root/community/scratch
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
committerroot <root@rshg054.dnsready.net>2013-07-17 00:58:52 -0700
commitdee9f17b595ea903a982d31d1124b302bb17e2ff (patch)
tree295fdab78e28e1952fbc13ce824d57c88ede4e3b /community/scratch
parent380530d02a5449fdef97b63b394a6743c3de0092 (diff)
Wed Jul 17 00:58:51 PDT 2013
Diffstat (limited to 'community/scratch')
-rw-r--r--community/scratch/PKGBUILD40
-rw-r--r--community/scratch/scratch.install9
2 files changed, 0 insertions, 49 deletions
diff --git a/community/scratch/PKGBUILD b/community/scratch/PKGBUILD
deleted file mode 100644
index 508442874..000000000
--- a/community/scratch/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# $Id: PKGBUILD 77468 2012-10-10 18:12:07Z jsteel $
-# Maintainer: Jonathan Steel <mail at jsteel dot org>
-# Contributor: Muhammed Uluyol <muhammedu@gmail.com>
-
-pkgname=scratch
-pkgver=1.4.0.7
-pkgrel=2
-pkgdesc="Create and share your own interactive stories, games, music and art"
-arch=('i686' 'x86_64')
-url="http://scratch.mit.edu"
-license=('GPL2')
-install=$pkgname.install
-depends=('squeak-vm' 'shared-mime-info' 'hicolor-icon-theme' 'desktop-file-utils' 'pango'
- 'gtk-update-icon-cache')
-source=(http://download.scratch.mit.edu/$pkgname-$pkgver.src.tar.gz)
-md5sums=('f948e9e6de3ec9c7c7b4cc2a1975eb5a')
-
-build() {
- cd "$srcdir"/$pkgname-$pkgver.src
-
- sed -i 's/-vm-sound-pulse/-vm-sound-ALSA/' src/$pkgname
-
- make build
-}
-
-package() {
- cd "$srcdir"/$pkgname-$pkgver.src
-
- install -Dm755 src/$pkgname "$pkgdir"/usr/bin/$pkgname
- install -Dm644 Scratch.image "$pkgdir"/usr/lib/$pkgname/Scratch.image
- install -m644 Scratch.ini "$pkgdir"/usr/lib/$pkgname/Scratch.ini
- install -Dm644 src/$pkgname.desktop "$pkgdir"/usr/share/applications/$pkgname.desktop
- install -Dm644 src/man/$pkgname.1.gz "$pkgdir"/usr/share/man/man1/$pkgname.1.gz
- install -Dm644 src/$pkgname.xml "$pkgdir"/usr/share/mime/packages/$pkgname.xml
- install -dm755 "$pkgdir"/usr/share/{$pkgname,icons/hicolor}
-
- cp -rp Help locale Media Projects README "$pkgdir"/usr/share/$pkgname/
- cp -rp src/icons/* "$pkgdir"/usr/share/icons/hicolor/
- cp -rp Plugins "$pkgdir"/usr/lib/$pkgname/
-}
diff --git a/community/scratch/scratch.install b/community/scratch/scratch.install
deleted file mode 100644
index 7fe49829c..000000000
--- a/community/scratch/scratch.install
+++ /dev/null
@@ -1,9 +0,0 @@
-post_install() {
- update-desktop-database
- update-mime-database /usr/share/mime
- gtk-update-icon-cache -qf /usr/share/icons/hicolor
-}
-
-post_remove() {
- post_install
-}