summaryrefslogtreecommitdiff
path: root/community/asciijump/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/asciijump/PKGBUILD')
-rw-r--r--community/asciijump/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/asciijump/PKGBUILD b/community/asciijump/PKGBUILD
new file mode 100644
index 000000000..3be130f09
--- /dev/null
+++ b/community/asciijump/PKGBUILD
@@ -0,0 +1,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
+}
+