#!/bin/bash # bsd-games # # Douglas Thrift # # $Id$ name=bsd-games version=2.17-8 revision=0 categories=(games) description='Collection of classic textual Unix games' url='http://packages.debian.org/testing/games/bsdgames' depends=('base/miscfiles' 'base/ncurses' 'base/openssl') sources=(`name=bsdgames site_debian` bsd-games.patch) sourcedir=$name-${version%%-*} # XXX: groups function build() { name=bsdgames debian_patch || return $? gnu_patch bsd-games.patch || return $? sed -e "s|\`pwd\`/debian/bsdgames|$package|" -i config.params || return $? gnu_configure --prefix=/usr }