diff --git a/srcpkgs/removed-packages/template b/srcpkgs/removed-packages/template index 2a10558e86e092..145eaa70225a27 100644 --- a/srcpkgs/removed-packages/template +++ b/srcpkgs/removed-packages/template @@ -924,6 +924,7 @@ replaces=" rstudio<=1.4.1717_7 rundird<=0.2.0_1 scantailor<=0.9.12.1_2 + scratch<=1.4.0.7 screenFetch<=3.9.1_2 seahorse-sharing<=3.8.0_4 searchfile<=0.0.0.20180623_2 @@ -941,6 +942,7 @@ replaces=" spacefm-ng<=1.0.6_3 spotify-adblock-linux<=1.1_1 sqlite-replication<=3.32.3_2 + squeak<=4.10.2.2614 srw<=0.7_1 steam-fonts<=1.0.0_5 swarm<=0.5.7_2 diff --git a/srcpkgs/scratch/template b/srcpkgs/scratch/template deleted file mode 100644 index 93b48ed64abfbd..00000000000000 --- a/srcpkgs/scratch/template +++ /dev/null @@ -1,44 +0,0 @@ -# Template file for 'scratch' -pkgname=scratch -version=1.4.0.7 -revision=2 -build_style=gnu-makefile -hostmakedepends="pkg-config" -makedepends="squeak pango-devel shared-mime-info desktop-file-utils gtk-update-icon-cache" -depends="${makedepends/pango-devel/}" -short_desc="Create and share your own interactive stories, games, music and art" -maintainer="Orphaned " -license="GPL-2.0-only, MIT" -homepage="http://scratch.mit.edu" -distfiles="http://download.scratch.mit.edu/${pkgname}-${version}.src.tar.gz" -checksum=b94d89278ecef2ba2d1147eec23936dd99697293ffa2c216c0a375ba98226a3e - -post_patch() { - sed -n -e '/Author:/,/IN THE SOFTWARE/p' \ - src/plugins/wedo/WeDoLinux.c >LICENSE.MIT - find . -name Makefile -exec \ - sed -i -e ' - /gcc.*CFLAGS/s/gcc/$(CC) $(CPPFLAGS)/ - /gcc -shared/s/gcc/$(CC) $(LDFLAGS)/ - ' {} + -} - -do_install() { - vbin src/scratch - vinstall Scratch.image 644 usr/lib/scratch - vinstall Scratch.ini 644 usr/lib/scratch - vinstall src/scratch.desktop 644 usr/share/applications - vman src/man/scratch.1.gz - vinstall src/scratch.xml 644 usr/share/mime/packages - install -dm755 ${DESTDIR}/usr/share/{scratch,icons/hicolor} - - cp -rp Help locale Media Projects README ${DESTDIR}/usr/share/scratch - cp -rp Plugins ${DESTDIR}/usr/lib/scratch - - for res in 32 48 128; do - install -D -m644 src/icons/${res}x${res}/scratch.png \ - ${DESTDIR}/usr/share/icons/hicolor/${res}x${res}/apps/scratch.png - done - vlicense NOTICE - vlicense LICENSE.MIT -} diff --git a/srcpkgs/squeak/template b/srcpkgs/squeak/template deleted file mode 100644 index b9f969a403bb29..00000000000000 --- a/srcpkgs/squeak/template +++ /dev/null @@ -1,25 +0,0 @@ -# Template file for 'squeak' -pkgname=squeak -version=4.10.2.2614 -revision=4 -build_style=gnu-configure -configure_script="./unix/cmake/configure" -configure_args="--without-quartz --with-x --with-fbdev" -hostmakedepends="cmake pkg-config" -makedepends="glib-devel pango-devel libuuid-devel alsa-lib-devel - pulseaudio-devel dbus-devel libXrender-devel MesaLib-devel" -short_desc="Full-featured implementation of the Smalltalk programming language" -maintainer="Orphaned " -license="MIT" -homepage="http://squeakvm.org" -distfiles="http://squeakvm.org/unix/release/Squeak-${version}-src.tar.gz" -checksum=3db6d12ea223e5bc49f52af7f6f832e383a3a006a53bc8a87f6469e1af5dfc2e - -# a terrible hack around terrible code -if [ "$XBPS_TARGET_LIBC" = "musl" ]; then - CFLAGS+=" -D__NEED_struct__IO_FILE" -fi - -post_install() { - vlicense unix/doc/LICENSE -}