Files

25 lines
683 B
Python

#!/usr/bin/python
# -*- coding: utf-8 -*-
#
# Licensed under the GNU General Public License, version 3.
# See the file http://www.gnu.org/licenses/gpl.txt
from pisi.actionsapi import autotools
from pisi.actionsapi import pisitools
def setup():
autotools.configure("--with-scores-group=users \
--with-scores-user=root")
def build():
autotools.make()
def install():
autotools.install()
pisitools.domove("/var/games/gweled.Normal.scores", "/var/state/gweled/")
pisitools.domove("/var/games/gweled.Timed.scores", "/var/state/gweled/")
pisitools.removeDir("/var/games")
pisitools.dodoc("AUTHORS", "NEWS", "ChangeLog", "COPYING")