#!/bin/bash # bsd-games-non-free # # Douglas Thrift # # $Id$ name=bsd-games-non-free version=2.17-1 revision=0 categories=(games) description='Rogue, the classic dungeon exploration game' url='http://packages.debian.org/unstable/games/bsdgames-nonfree' depends=('base/ncurses') sources=(`name=bsdgames-nonfree pool=non-free site_debian` bsd-games-non-free.patch) sourcedir=$name-${version%%-*} # XXX: groups function build() { name=bsdgames-nonfree debian_patch || return $? gnu_patch bsd-games-non-free.patch || return $? sed -e "s|\`pwd\`/debian/\\\$pkg|$package|" -i config.params || return $? gnu_configure --prefix=/usr }