diff --git a/mingw-w64-toolshed/001-ts-2.2-fix-makefile.patch b/mingw-w64-toolshed/001-ts-2.2-fix-makefile.patch deleted file mode 100644 index d7722376..00000000 --- a/mingw-w64-toolshed/001-ts-2.2-fix-makefile.patch +++ /dev/null @@ -1,14 +0,0 @@ -diff -r cc0c69db5793 build/unix/Makefile ---- a/build/unix/Makefile Sun Aug 19 14:49:57 2018 -0700 -+++ b/build/unix/Makefile Fri Nov 02 21:42:29 2018 -0400 -@@ -5,8 +5,8 @@ - - PACKAGENAME = toolshed-$(VERSION).tgz - ifneq ($(DESTDIR),) --INSTALLDIR = $(DESTDIR)/usr/bin --DOCDIR = $(DESTDIR)/usr/share/doc/toolshed -+INSTALLDIR = $(DESTDIR)/bin -+DOCDIR = $(DESTDIR)/share/doc/toolshed - else - INSTALLDIR = /usr/local/bin - DOCDIR = /usr/local/share/toolshed diff --git a/mingw-w64-toolshed/002-ts-2.2-add-mingw_time-h.patch b/mingw-w64-toolshed/002-ts-2.2-add-mingw_time-h.patch deleted file mode 100644 index 93a2bb28..00000000 --- a/mingw-w64-toolshed/002-ts-2.2-add-mingw_time-h.patch +++ /dev/null @@ -1,41 +0,0 @@ -diff -r cc0c69db5793 ar2/o2u.c ---- a/ar2/o2u.c Sun Aug 19 14:49:57 2018 -0700 -+++ b/ar2/o2u.c Fri Nov 02 11:21:31 2018 -0400 -@@ -41,7 +41,11 @@ - */ - - # include "o2u.h" -+# if defined(__MINGW32__) -+# include "mingw_time.h" -+# else -+# include -+# endif --# include - - # define YEAR_LENGTH(Y) (((Y) & 3) ? 365 : 366) - - -diff -r cc0c69db5793 include/mingw_time.h ---- /dev/null Thu Jan 01 00:00:00 1970 +0000 -+++ b/include/mingw_time.h Fri Nov 02 11:21:31 2018 -0400 -@@ -0,0 +1,20 @@ -+#ifndef MINGW_TIME_H_INCLUDED -+#define MINGW_TIME_H_INCLUDED -+ -+#ifndef _TM_DEFINED -+#define _TM_DEFINED -+ struct tm { -+ int tm_sec; -+ int tm_min; -+ int tm_hour; -+ int tm_mday; -+ int tm_mon; -+ int tm_year; -+ int tm_wday; -+ int tm_yday; -+ int tm_isdst; -+ }; -+#endif -+struct tm *localtime(const time_t *_Time); -+ -+#endif /* MINGW_TIME_H_INCLUDED */ diff --git a/mingw-w64-toolshed/PKGBUILD b/mingw-w64-toolshed/PKGBUILD deleted file mode 100644 index 65eb509d..00000000 --- a/mingw-w64-toolshed/PKGBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# Maintainer: Tim S -# Original Author: Paul Hentschel - -_realname=toolshed -_machine=m6809 -_target=${_machine}-unknown - -pkgbase=mingw-w64-${_realname} -pkgname="${MINGW_PACKAGE_PREFIX}-${_realname}" -pkgver=2.2 -pkgrel=2 -_revision='27485e1ea881574331a76d121a045dc00acbf350' -pkgdesc="Utilities for Tandy Color Computer and Dragon microcomputers cross-development (mingw-w64)" -arch=('any') -url="http://toolshed.sourceforge.net" -license=('PerlArtistic') -groups=("${MINGW_PACKAGE_PREFIX}-${_target}-toolchain") -# depends=('glibc') -makedepends=('make' 'mercurial' 'patch' ${MINGW_PACKAGE_PREFIX}-discount) -source=("${_realname}::hg+http://hg.code.sf.net/p/toolshed/code#revision=$_revision" - "001-ts-2.2-fix-makefile.patch" - "002-ts-2.2-add-mingw_time-h.patch") -sha256sums=('SKIP' - 'cd70313a0c2f5aafd36eb3e5ddfc0ef87a25d4b886df3b4f06578e7d03b1e153' - '2d42fec4ca013299bcb30834e677bac387528429f6e14bb61447a6d5ae1b8f37') - -prepare() { - cd "${_realname}" - - [[ -f "include/mingw_time.h" ]] && rm include/mingw_time.h - - patch --forward -p1 -i ${srcdir}/001-ts-2.2-fix-makefile.patch - patch --forward -p1 -i ${srcdir}/002-ts-2.2-add-mingw_time-h.patch -} - -build() { - cd "${_realname}" - make -C build/unix clean - make -C build/unix -} - -check() { - cd "${_realname}" - ./tests/hybrid-dsk.sh - ./tests/multihdb-dsk.sh -} - -package() { - cd "${_realname}" - make DESTDIR="$pkgdir${MINGW_PREFIX}/" -C build/unix install - - # Install license file - sed -n '/Copyright/,/PARTICULAR PURPOSE./p' casm/src/util.h > LICENSE - install -Dm644 -t "$pkgdir${MINGW_PREFIX}/share/licenses/${_realname}" LICENSE - - # Install image for HTML manual - install -m644 doc/cover.jpg "$pkgdir${MINGW_PREFIX}/share/doc/${_realname}/" -} - -# vim:set ts=2 sw=2 et: diff --git a/mingw-w64-toolshed/copyright b/mingw-w64-toolshed/copyright deleted file mode 100644 index 82bab374..00000000 --- a/mingw-w64-toolshed/copyright +++ /dev/null @@ -1,35 +0,0 @@ -Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/ -Upstream-Name: toolshed -Source: https://sourceforge.net/projects/toolshed/ - -Files: * -Copyright: 2004 Boisy G. Pitre -License: Public Domain - -Files: casm/* -Copyright: 2004 Chet Simpson, Digial Asphyxia -License: artistic - -Files: makewav/* -Copyright: 2007 Tim Lindner -License: Public Domain - -Files: superdos/* -Copyright: 1986 Grosvenor, Compusense. -License: Public Domain - -Files: mamou/* -Copyright: 2004 Boisy G. Pitre -License: Public Domain - -Files: hdbdos/* -Copyright: 2004 Boisy G. Pitre -License: Public Domain - -Files: cocoroms/*.asm -Copyright: 1982 Tandy -License: Public Domain - -Files: debian/* -Copyright: 2013 Tormod Volden -License: artistic