Date: Tuesday, February 13, 2018 @ 11:28:48 Author: jsteel Revision: 293796
archrelease: copy trunk to community-x86_64 Added: scratch/repos/community-x86_64/PKGBUILD (from rev 293795, scratch/trunk/PKGBUILD) Deleted: scratch/repos/community-x86_64/PKGBUILD scratch/repos/extra-x86_64/ ---------------------------+ /PKGBUILD | 49 ++++++++++++++++++++++++++++++++++++++++++++ community-x86_64/PKGBUILD | 49 -------------------------------------------- 2 files changed, 49 insertions(+), 49 deletions(-) Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2018-02-13 11:28:40 UTC (rev 293795) +++ community-x86_64/PKGBUILD 2018-02-13 11:28:48 UTC (rev 293796) @@ -1,49 +0,0 @@ -# $Id$ -# Maintainer: Jonathan Steel <jsteel at archlinux.org> -# Contributor: Muhammed Uluyol <muhamm...@gmail.com> - -pkgname=scratch -pkgver=1.4.0.7 -pkgrel=6 -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') -source=(http://download.scratch.mit.edu/$pkgname-$pkgver.src.tar.gz) -md5sums=('f948e9e6de3ec9c7c7b4cc2a1975eb5a') - -prepare() { - cd $pkgname-$pkgver.src - - # Fix FS#41125 - sed -i 's/-xshm //' src/$pkgname -} - -build() { - cd $pkgname-$pkgver.src - - make build -} - -package() { - cd $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 293795, scratch/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2018-02-13 11:28:48 UTC (rev 293796) @@ -0,0 +1,49 @@ +# $Id$ +# Maintainer: Jonathan Steel <jsteel at archlinux.org> +# Contributor: Muhammed Uluyol <muhamm...@gmail.com> + +pkgname=scratch +pkgver=1.4.0.7 +pkgrel=6 +pkgdesc="Create and share your own interactive stories, games, music and art" +arch=('x86_64') +url="https://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') +source=(https://download.scratch.mit.edu/$pkgname-$pkgver.src.tar.gz) +md5sums=('f948e9e6de3ec9c7c7b4cc2a1975eb5a') + +prepare() { + cd $pkgname-$pkgver.src + + # Fix FS#41125 + sed -i 's/-xshm //' src/$pkgname +} + +build() { + cd $pkgname-$pkgver.src + + make build +} + +package() { + cd $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 +}