[arch-commits] Commit in scratch/repos (8 files)
Jonathan Steel
jsteel at archlinux.org
Wed Jul 16 18:25:22 UTC 2014
Date: Wednesday, July 16, 2014 @ 20:25:22
Author: jsteel
Revision: 115784
archrelease: copy trunk to community-i686, community-x86_64
Added:
scratch/repos/community-i686/PKGBUILD
(from rev 115783, scratch/trunk/PKGBUILD)
scratch/repos/community-i686/scratch.install
(from rev 115783, scratch/trunk/scratch.install)
scratch/repos/community-x86_64/PKGBUILD
(from rev 115783, scratch/trunk/PKGBUILD)
scratch/repos/community-x86_64/scratch.install
(from rev 115783, 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 | 100 +++++++++++++++++++++++++++++++++++++
/scratch.install | 26 +++++++++
community-i686/PKGBUILD | 42 ---------------
community-i686/scratch.install | 13 ----
community-x86_64/PKGBUILD | 42 ---------------
community-x86_64/scratch.install | 13 ----
6 files changed, 126 insertions(+), 110 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2014-07-16 18:25:01 UTC (rev 115783)
+++ community-i686/PKGBUILD 2014-07-16 18:25:22 UTC (rev 115784)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
-# Contributor: Muhammed Uluyol <muhammedu at gmail.com>
-
-pkgname=scratch
-pkgver=1.4.0.7
-pkgrel=4
-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')
-
-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
-}
Copied: scratch/repos/community-i686/PKGBUILD (from rev 115783, scratch/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-07-16 18:25:22 UTC (rev 115784)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Muhammed Uluyol <muhammedu at gmail.com>
+
+pkgname=scratch
+pkgver=1.4.0.7
+pkgrel=5
+pkgdesc="Create and share your own interactive stories, games, music and art"
+arch=('i686' 'x86_64')
+url="http://scratch.mit.edu"
+license=('GPL2')
+depends=('squeak-vm' 'shared-mime-info' 'desktop-file-utils' 'pango'
+ 'gtk-update-icon-cache')
+backup=('usr/lib/scratch/Scratch.ini')
+install=$pkgname.install
+source=(http://download.scratch.mit.edu/$pkgname-$pkgver.src.tar.gz)
+md5sums=('f948e9e6de3ec9c7c7b4cc2a1975eb5a')
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver.src
+
+ # Fix FS#41125
+ sed -i 's/-xshm //' 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-07-16 18:25:01 UTC (rev 115783)
+++ community-i686/scratch.install 2014-07-16 18:25:22 UTC (rev 115784)
@@ -1,13 +0,0 @@
-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
-}
Copied: scratch/repos/community-i686/scratch.install (from rev 115783, scratch/trunk/scratch.install)
===================================================================
--- community-i686/scratch.install (rev 0)
+++ community-i686/scratch.install 2014-07-16 18:25:22 UTC (rev 115784)
@@ -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-07-16 18:25:01 UTC (rev 115783)
+++ community-x86_64/PKGBUILD 2014-07-16 18:25:22 UTC (rev 115784)
@@ -1,42 +0,0 @@
-# $Id$
-# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
-# Contributor: Muhammed Uluyol <muhammedu at gmail.com>
-
-pkgname=scratch
-pkgver=1.4.0.7
-pkgrel=4
-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')
-
-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
-}
Copied: scratch/repos/community-x86_64/PKGBUILD (from rev 115783, scratch/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-07-16 18:25:22 UTC (rev 115784)
@@ -0,0 +1,50 @@
+# $Id$
+# Maintainer: Jonathan Steel <jsteel at aur.archlinux.org>
+# Contributor: Muhammed Uluyol <muhammedu at gmail.com>
+
+pkgname=scratch
+pkgver=1.4.0.7
+pkgrel=5
+pkgdesc="Create and share your own interactive stories, games, music and art"
+arch=('i686' 'x86_64')
+url="http://scratch.mit.edu"
+license=('GPL2')
+depends=('squeak-vm' 'shared-mime-info' 'desktop-file-utils' 'pango'
+ 'gtk-update-icon-cache')
+backup=('usr/lib/scratch/Scratch.ini')
+install=$pkgname.install
+source=(http://download.scratch.mit.edu/$pkgname-$pkgver.src.tar.gz)
+md5sums=('f948e9e6de3ec9c7c7b4cc2a1975eb5a')
+
+prepare() {
+ cd "$srcdir"/$pkgname-$pkgver.src
+
+ # Fix FS#41125
+ sed -i 's/-xshm //' 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-07-16 18:25:01 UTC (rev 115783)
+++ community-x86_64/scratch.install 2014-07-16 18:25:22 UTC (rev 115784)
@@ -1,13 +0,0 @@
-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
-}
Copied: scratch/repos/community-x86_64/scratch.install (from rev 115783, scratch/trunk/scratch.install)
===================================================================
--- community-x86_64/scratch.install (rev 0)
+++ community-x86_64/scratch.install 2014-07-16 18:25:22 UTC (rev 115784)
@@ -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