Commit 48b88ee4 authored by Leo's avatar Leo

testing/scidvspc: remove

parent a5896d5c
# Contributor: Leo <thinkabit.ukim@gmail.com>
# Maintainer: Leo <thinkabit.ukim@gmail.com>
pkgname=scidvspc
pkgver=4.21
pkgrel=0
pkgdesc="Chess toolkit with extensive database, analysis and playing features"
options="!check" # No testsuite
url="http://scidvspc.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
depends="fontconfig"
makedepends="tcl-dev tk-dev"
source="http://sourceforge.net/projects/scidvspc/files/source/scid_vs_pc-$pkgver.tgz
scid_vs_pc.desktop
scid
"
builddir="$srcdir/scid_vs_pc-$pkgver"
build() {
./configure \
BINDIR=/usr/bin \
TCL_VERSION=8.6 \
SHAREDIR=/usr/share/scid
make -j1
}
package() {
# Create directories
install -dm755 "$pkgdir"/usr/bin
local i; for i in bases bin bitmaps books data html lang sounds; do
install -dm755 "$pkgdir"/usr/share/scid/$i
done
install -dm755 "$pkgdir"/usr/share/scid/bin/scripts
install -dm755 "$pkgdir"/usr/share/fonts/truetype/Scid
# Data
install -m 755 scid sc_* scidpgn pgnscid tkscid tcscid scmerge scidlet* scidt "$pkgdir"/usr/share/scid/bin
rm -r scripts/CB-Mega
install -m 755 scripts/[a-z]* "$pkgdir"/usr/share/scid/bin/scripts
install -m 644 scid.eco "$pkgdir"/usr/share/scid/data
install -m 644 spelling.ssp "$pkgdir"/usr/share/scid
# Start files
install -m 755 "$srcdir"/scid "$pkgdir"/usr/bin
# Opening books
install -m 666 books/* "$pkgdir"/usr/share/scid/books
# Translation files
install -m 666 tcl/lang/* "$pkgdir"/usr/share/scid/lang
# Sounds
cp sounds/* "$pkgdir"/usr/share/scid/sounds
# Bases
install -m 666 bases/* "$pkgdir"/usr/share/scid/bases
# Bitmaps
cp bitmaps/* "$pkgdir"/usr/share/scid/bitmaps
# Docs
cp -r html/* "$pkgdir"/usr/share/scid/html
# Fonts
cp fonts/*.ttf "$pkgdir"/usr/share/fonts/truetype/Scid
# Desktop icon
install -Dm644 icons/scid.png "$pkgdir"/usr/share/pixmaps/scid.png
install -Dm644 "$srcdir"/scid_vs_pc.desktop "$pkgdir"/usr/share/applications/scid_vs_pc.desktop
}
sha512sums="dda0e58297c7e16afbdab1808ed0014d270de5f4830dbb0563cfb51955b22d30efb270adbf2b93a330ca5e9df0c483e9c25b14d6a65825e121a793db098cd23b scid_vs_pc-4.21.tgz
cdf79dbc50b9129f45c50fbf96f21e6704b9474dbb1e8a9962c579fc4d65fd4a3cede395b0317673a6888c9339c537994e3c90ea756b13d0cb350cff47fe7dc8 scid_vs_pc.desktop
92e7120dbc6c959cd7651222e2723ee9cc8586ff7b7baea280aaddaeb444aca6ad03d6a715945f8142391db643067935d1a246a0a674c3f764995dbe0fa3ab5e scid"
#!/bin/sh
cd /usr/share/scid/bin
./scid
[Desktop Entry]
Type=Application
Name=Scid vs PC
GenericName=Chess Database
Exec=scid
Icon=/usr/share/pixmaps/scid.png
Categories=Game;BoardGame
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment