summaryrefslogtreecommitdiff
path: root/community/asciijump/PKGBUILD
blob: 3be130f097bbd03a6e485807d4824fae92971a06 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# $Id: PKGBUILD 21656 2010-07-16 21:29:57Z lcarlier $
# Maintainer: Mateusz Herych <heniekk@gmail.com>

pkgname=asciijump
pkgver=1.0.2beta
pkgrel=5
pkgdesc="Ski jumping in ASCII"
arch=('i686' 'x86_64')
url="http://asciijump.prv.pl/"
license=('GPL')
depends=('slang' 'ctags')
source=("http://otak.k-k.pl/asciijump/tgz/asciijump-1.0.2beta.tar.gz")
md5sums=('199228bbfb4a16914913fe594b775a6d')

build() {
	cd ${srcdir}/asciijump-$pkgver

	./configure --prefix=/usr --mandir=/usr/share/man
	make
}

package() {
	cd ${srcdir}/asciijump-$pkgver

	make DESTDIR="$pkgdir" install
	chmod -R 775 ${pkgdir}/usr/var/games
	chown -R root:games ${pkgdir}/usr/var/games
	rm -rf ${pkgdir}/usr/share/pixmaps
	mv ${pkgdir}/usr/X11R6/share/pixmaps $startdir/pkg/usr/share/pixmaps
	rm -rf ${pkgdir}/usr/X11R6
}