[arch-commits] Commit in scratch/repos (8 files)

Jonathan Steel jsteel at nymeria.archlinux.org
Sun Feb 9 11:46:59 UTC 2014


    Date: Sunday, February 9, 2014 @ 12:46:59
  Author: jsteel
Revision: 105503

archrelease: copy trunk to community-i686, community-x86_64

Added:
  scratch/repos/community-i686/PKGBUILD
    (from rev 105502, scratch/trunk/PKGBUILD)
  scratch/repos/community-i686/scratch.install
    (from rev 105502, scratch/trunk/scratch.install)
  scratch/repos/community-x86_64/PKGBUILD
    (from rev 105502, scratch/trunk/PKGBUILD)
  scratch/repos/community-x86_64/scratch.install
    (from rev 105502, scratch/trunk/scratch.install)
Deleted:
  scratch/repos/community-i686/PKGBUILD
  scratch/repos/community-i686/scratch.install
  scratch/repos/community-x86_64/PKGBUILD
  scratch/repos/community-x86_64/scratch.install

----------------------------------+
 /PKGBUILD                        |   96 +++++++++++++++++++++++++++++++++++++
 /scratch.install                 |   26 ++++++++++
 community-i686/PKGBUILD          |   40 ---------------
 community-i686/scratch.install   |    9 ---
 community-x86_64/PKGBUILD        |   40 ---------------
 community-x86_64/scratch.install |    9 ---
 6 files changed, 122 insertions(+), 98 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2014-02-09 11:46:34 UTC (rev 105502)
+++ community-i686/PKGBUILD	2014-02-09 11:46:59 UTC (rev 105503)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Steel <mail at jsteel dot org>
-# Contributor: Muhammed Uluyol <muhammedu at 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/
-}

Copied: scratch/repos/community-i686/PKGBUILD (from rev 105502, scratch/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2014-02-09 11:46:59 UTC (rev 105503)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Muhammed Uluyol <muhammedu at gmail.com>
+
+pkgname=scratch
+pkgver=1.4.0.7
+pkgrel=3
+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' 'desktop-file-utils' 'pango'
+         'gtk-update-icon-cache')
+source=(http://download.scratch.mit.edu/$pkgname-$pkgver.src.tar.gz)
+md5sums=('f948e9e6de3ec9c7c7b4cc2a1975eb5a')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver.src
+
+  sed -i 's/-vm-sound-pulse/-vm-sound-ALSA/' src/$pkgname
+}
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver.src
+
+  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 Plugins "$pkgdir"/usr/lib/$pkgname/
+
+  for res in 32 48 128; do
+    install -D -m644 src/icons/${res}x${res}/$pkgname.png \
+      "$pkgdir"/usr/share/icons/hicolor/${res}x${res}/apps/$pkgname.png
+  done
+}

Deleted: community-i686/scratch.install
===================================================================
--- community-i686/scratch.install	2014-02-09 11:46:34 UTC (rev 105502)
+++ community-i686/scratch.install	2014-02-09 11:46:59 UTC (rev 105503)
@@ -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
-}

Copied: scratch/repos/community-i686/scratch.install (from rev 105502, scratch/trunk/scratch.install)
===================================================================
--- community-i686/scratch.install	                        (rev 0)
+++ community-i686/scratch.install	2014-02-09 11:46:59 UTC (rev 105503)
@@ -0,0 +1,13 @@
+post_install() {
+    update-desktop-database
+    update-mime-database /usr/share/mime
+    gtk-update-icon-cache -qf /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2014-02-09 11:46:34 UTC (rev 105502)
+++ community-x86_64/PKGBUILD	2014-02-09 11:46:59 UTC (rev 105503)
@@ -1,40 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Steel <mail at jsteel dot org>
-# Contributor: Muhammed Uluyol <muhammedu at 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/
-}

Copied: scratch/repos/community-x86_64/PKGBUILD (from rev 105502, scratch/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2014-02-09 11:46:59 UTC (rev 105503)
@@ -0,0 +1,48 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Muhammed Uluyol <muhammedu at gmail.com>
+
+pkgname=scratch
+pkgver=1.4.0.7
+pkgrel=3
+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' 'desktop-file-utils' 'pango'
+         'gtk-update-icon-cache')
+source=(http://download.scratch.mit.edu/$pkgname-$pkgver.src.tar.gz)
+md5sums=('f948e9e6de3ec9c7c7b4cc2a1975eb5a')
+
+prepare() {
+  cd "$srcdir"/$pkgname-$pkgver.src
+
+  sed -i 's/-vm-sound-pulse/-vm-sound-ALSA/' src/$pkgname
+}
+
+build() {
+  cd "$srcdir"/$pkgname-$pkgver.src
+
+  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 Plugins "$pkgdir"/usr/lib/$pkgname/
+
+  for res in 32 48 128; do
+    install -D -m644 src/icons/${res}x${res}/$pkgname.png \
+      "$pkgdir"/usr/share/icons/hicolor/${res}x${res}/apps/$pkgname.png
+  done
+}

Deleted: community-x86_64/scratch.install
===================================================================
--- community-x86_64/scratch.install	2014-02-09 11:46:34 UTC (rev 105502)
+++ community-x86_64/scratch.install	2014-02-09 11:46:59 UTC (rev 105503)
@@ -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
-}

Copied: scratch/repos/community-x86_64/scratch.install (from rev 105502, scratch/trunk/scratch.install)
===================================================================
--- community-x86_64/scratch.install	                        (rev 0)
+++ community-x86_64/scratch.install	2014-02-09 11:46:59 UTC (rev 105503)
@@ -0,0 +1,13 @@
+post_install() {
+    update-desktop-database
+    update-mime-database /usr/share/mime
+    gtk-update-icon-cache -qf /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+    post_install
+}
+
+post_remove() {
+    post_install
+}




More information about the arch-commits mailing list