|
@@ -1,14 +1,13 @@
|
|
|
# Tanım: Kendi etkileşimli hikayelerinizi, oyunlarınızı, müzik ve sanatınızı oluşturun ve paylaşın
|
|
|
# URL: http://scratch.mit.edu
|
|
|
-# Paketçi: Cihan Alkan
|
|
|
+# Paketçi: Cihan Alkan, yasarciv67
|
|
|
# Gerekler: squeak-vm shared-mime-info desktop-file-utils pango gtk-update-icon-cache
|
|
|
# Grup: geliştirme
|
|
|
|
|
|
isim=scratch
|
|
|
surum=1.4.0.7
|
|
|
-devir=1
|
|
|
-kaynak=(http://download.scratch.mit.edu/$isim-$surum.src.tar.gz
|
|
|
- $isim.desktop)
|
|
|
+devir=2
|
|
|
+kaynak=(http://download.scratch.mit.edu/$isim-$surum.src.tar.gz)
|
|
|
|
|
|
derle() {
|
|
|
cd $isim-$surum.src
|
|
@@ -21,15 +20,22 @@ derle() {
|
|
|
install -Dm644 src/$isim.desktop "$PKG"/usr/share/applications/$isim.desktop
|
|
|
install -Dm644 src/man/$isim.1.gz "$PKG"/usr/share/man/man1/$isim.1.gz
|
|
|
install -Dm644 src/$isim.xml "$PKG"/usr/share/mime/packages/$isim.xml
|
|
|
- install -dm755 "$PKG"/usr/share/{$isim,icons/hicolor}
|
|
|
+ install -dm755 "$PKG"/usr/share/{$isim,icons/hicolor,mime}
|
|
|
|
|
|
cp -rp Help locale Media Projects README "$PKG"/usr/share/$isim/
|
|
|
cp -rp Plugins "$PKG"/usr/lib/$isim/
|
|
|
- chmod 755 "$PKG"/usr/share/scratch/locale
|
|
|
- cp -r $SRC/$isim.desktop "$PKG"/usr/share/applications/$isim.desktop
|
|
|
+ chmod -R 755 "$PKG"/usr/share/scratch/
|
|
|
|
|
|
- for res in 32 48 128; do
|
|
|
+ for res in 32; do
|
|
|
install -D -m644 src/icons/${res}x${res}/$isim.png \
|
|
|
"$PKG"/usr/share/icons/hicolor/${res}x${res}/apps/$isim.png
|
|
|
+ done
|
|
|
+ for res in 48 128; do
|
|
|
+ install -D -m644 src/icons/${res}x${res}/$isim.png \
|
|
|
+ "$PKG"/usr/share/icons/hicolor/${res}x${res}/apps/$isim.png
|
|
|
+ install -D -m644 src/icons/${res}x${res}/gnome-mime-application-x-scratch-project.png \
|
|
|
+ "$PKG"/usr/share/icons/hicolor/${res}x${res}/mimetypes/$isim.png
|
|
|
+ sed -i 's/^Exec=/Comment[tr]=Sistem programlama ve içerik geliştirme aracı \
|
|
|
+&/' $PKG/usr/share/applications/$isim.desktop
|
|
|
done
|
|
|
}
|