From 0154753b4432ab9ea89ce4efbaa4462fab5b1fba Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 8 Oct 2024 20:37:59 +0200 Subject: cleanup MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- qtchess/PKGBUILD | 33 --------------------------------- qtchess/upload | 1 - qtchess/watch | 20 -------------------- 3 files changed, 54 deletions(-) delete mode 100644 qtchess/PKGBUILD delete mode 120000 qtchess/upload delete mode 100755 qtchess/watch (limited to 'qtchess') diff --git a/qtchess/PKGBUILD b/qtchess/PKGBUILD deleted file mode 100644 index fb5fdd3..0000000 --- a/qtchess/PKGBUILD +++ /dev/null @@ -1,33 +0,0 @@ -# Maintainer: Mattias Andrée -# Contributor: kleintux - -pkgname=qtchess -pkgver=2021.03.15 -pkgrel=2 -pkgdesc='Online chess game client written in Qt' -url='https://textbrowser.github.io/qtchess/' -arch=('i686' 'x86_64') -license=('custom:3-clause BSD') -# (license notice included in qtchess_main.cc) -depends=('qt5-base' 'libgl') -makedepends=('qt5-base' 'libgl' 'qt5-tools') -source=(qtchess-${pkgver}.tar.gz::"https://github.com/textbrowser/qtchess/archive/refs/tags/${pkgver}.tar.gz") -sha256sums=('b67e182beca7d203dd07b995a6d4cae752dc42ed76439694e1befe5d6bd5f2be') - - -prepare () { - cd "$srcdir/qtchess-${pkgver}" - sed '/-Werror/d' < qtchess.pro > qtchess.pro.fixed -} - -build () { - cd "$srcdir/qtchess-${pkgver}" - qmake-qt5 -o Makefile qtchess.pro.fixed - make -} - -package () { - cd "$srcdir/qtchess-${pkgver}" - mkdir -p -- "${pkgdir}/usr/bin/" - cp -- QtChess "${pkgdir}/usr/bin/qtchess" -} diff --git a/qtchess/upload b/qtchess/upload deleted file mode 120000 index 1e7a8be..0000000 --- a/qtchess/upload +++ /dev/null @@ -1 +0,0 @@ -../upload \ No newline at end of file diff --git a/qtchess/watch b/qtchess/watch deleted file mode 100755 index 05d5681..0000000 --- a/qtchess/watch +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -[ -f 'index.html' ] && rm 'index.html' -wget http://qtchess.sourceforge.net/ >/dev/null 2>/dev/null -if [ $? = 0 ]; then - [ -f unfetchable ] && rm unfetchable - grep 'has been released' < index.html | md5sum > new-sum - touch sum - if [ "$(cat sum)" = "$(cat new-sum)" ]; then - rm new-sum - else - mv new-sum sum - echo 'dooble' - fi - rm index.html -elif [ ! -f unfetchable ]; then - touch unfetchable - echo 'dooble (unfetchable)' -fi - -- cgit v1.2.3-70-g09d2