Package Details: bastet 0.43.2-3

Git Clone URL: https://aur.archlinux.org/bastet.git (read-only)
Package Base: bastet
Description: Tetris(r) clone with 'bastard' block-choosing AI
Upstream URL: http://fph.altervista.org/prog/bastet.html
Licenses: GPL3
Submitter: byte
Maintainer: grawlinson
Last Packager: grawlinson
Votes: 50
Popularity: 0.100723
First Submitted: 2007-08-24 22:03
Last Updated: 2018-07-29 07:44

Dependencies (2)

Required by (0)

Sources (2)

Latest Comments

famfop commented on 2018-07-04 09:22

I don't wish to maintain the package but you can get the git-version with this. I updated this PKGBUILD. Sorry for the missing newlines, can't figure out how to do it.

# Contributor: Alexandre Dantas <eu @ alexdantas DOT net>
# Maintainer: aksr <aksr at t-com dot me>
pkgname=bastet-git
pkgver=0.43.2.r3.g1b3e692
pkgrel=1
pkgdesc="Tetris(r) clone with 'bastard' block-choosing AI"
arch=('x86_64' 'i686')
url="https://github.com/fph/bastet/"
license=('GPL3')
depends=('boost-libs' 'ncurses')
makedepends=('git' 'boost')
conflicts=('bastet')
source=("$pkgname::git+https://github.com/fph/bastet.git")
md5sums=('SKIP')

pkgver() {
  cd "$srcdir/$pkgname"
  git describe --long --tags | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
}

build() {
  cd "$srcdir/$pkgname"
  make
}

package() {
  cd "$srcdir/$pkgname"

  # populate files
  install -D bastet "${pkgdir}"/usr/bin/bastet
  install -D -m 0644 bastet.6 "${pkgdir}"/usr/share/man/man6/bastet.6
  install -D -m 0644 bastet.png "${pkgdir}"/usr/share/pixmaps/bastet.png
  install -D -m 0644 bastet.desktop "${pkgdir}"/usr/share/applications/bastet.desktop
  install -D -m 0644 bastet.appdata.xml "${pkgdir}"/usr/share/appdata/bastet.appdata.xml
  for F in AUTHORS INSTALL NEWS README; do
    install -D -m 0644 ${F} "${pkgdir}"/usr/share/doc/bastet/${F}
  done

  install -d -m 0775 -g games "${pkgdir}"/var/games
  touch "${pkgdir}"/var/games/bastet.scores2
  chmod 0664 "${pkgdir}"/var/games/bastet.scores2
  chown root:games "${pkgdir}"/var/games/bastet.scores2
}

bongokarl commented on 2017-10-07 22:11

The build currently fails:

g++ -MM Ui.cpp Block.cpp Well.cpp BlockPosition.cpp Config.cpp BlockChooser.cpp BastetBlockChooser.cpp main.cpp Test.cpp> depend
g++ -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong -fno-plt -DNDEBUG -Wall -D_FORTIFY_SOURCE=2 -c -o Ui.o Ui.cpp
In file included from Ui.cpp:22:0:
BastetBlockChooser.hpp:26:10: schwerwiegender Fehler: boost/tr1/tr1/unordered_set: Datei oder Verzeichnis nicht gefunden
#include <boost/tr1/tr1/unordered_set>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Kompilierung beendet.
make: *** [<eingebaut>: Ui.o] Fehler 1
==> FEHLER: Ein Fehler geschah in build().
Breche ab...