summaryrefslogtreecommitdiff
path: root/extra/nppangband/PKGBUILD
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-19 12:44:24 -0500
committerJoshua Ismael Haase Hernandez <hahj87@gmail.com>2011-05-19 12:44:24 -0500
commit071445e6a2bb31ddf638e6f2e5362953b47e72dc (patch)
tree9ec266d72aaa5971dee2d1abbe2de511d971de87 /extra/nppangband/PKGBUILD
parentc14218d562c03601d6d23666f77ed0c2f0025c1b (diff)
parentb8ea4461e461f0e1782e28b5810eb811423afa79 (diff)
Merge branch 'master' of vparabola:~/abslibre-pre-mips64el into pre
Conflicts: core/heimdal/PKGBUILD extra/apache-ant/PKGBUILD extra/aria2/PKGBUILD extra/bs/PKGBUILD extra/dosbox/PKGBUILD extra/ettercap-gtk/PKGBUILD extra/gqmpeg/PKGBUILD extra/gtk-theme-switch2/PKGBUILD extra/icecast/PKGBUILD extra/kmldonkey/PKGBUILD extra/kmplayer/PKGBUILD extra/libbtctl/PKGBUILD extra/libx86/PKGBUILD extra/mc/PKGBUILD extra/monotone/PKGBUILD extra/nbsmtp/PKGBUILD extra/nickle/PKGBUILD extra/nppangband/PKGBUILD extra/numlockx/PKGBUILD extra/python-gtkglext/PKGBUILD extra/speedcrunch/PKGBUILD extra/vbetool/PKGBUILD libre/xchat-gnome-libre/PKGBUILD libre/xchat-gnome-libre/gtk2-2.20.patch libre/xchat-gnome-libre/xchat-gnome-0.26.1-deprecated-symbol.patch libre/xchat-gnome-libre/xchat-gnome.install
Diffstat (limited to 'extra/nppangband/PKGBUILD')
-rw-r--r--extra/nppangband/PKGBUILD41
1 files changed, 0 insertions, 41 deletions
diff --git a/extra/nppangband/PKGBUILD b/extra/nppangband/PKGBUILD
deleted file mode 100644
index 177b0fa53..000000000
--- a/extra/nppangband/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# $Id: PKGBUILD 58001 2009-11-03 08:18:40Z giovanni $
-# Maintainer: James Rayner <iphitus@gmail.com>
-
-pkgname=nppangband
-pkgver=0.5.0.25
-pkgrel=1.1
-pkgdesc="A variant of Angband that attempts to take popular ideas from other variants"
-url="http://www.assembla.com/wiki/show/NPPAngband"
-depends=('ncurses' 'libx11')
-makedepends=('libxaw' 'xorg-font-utils')
-source=(http://www.assembla.com/spaces/NPPAngband/documents/dmfeFgWJir3PuseJe5afGb/download/npp050-rev25-src.zip)
-license=('custom')
-arch=('i686' 'x86_64' 'mips64el')
-
-build() {
-
- cd $srcdir/npp050-rev25-src/src
- sed 's@# define DEFAULT_PATH "./lib/"@# define DEFAULT_PATH "/usr/share/nppangband/"@' -i config.h
- sed -i 's/-D"USE_LFB"//g' Makefile.std # Remove framebuffer support, does not compile,
- make -f Makefile.std
-
-
- # Fix fonts
- cd ../lib/xtra/font/
- tr -d '\r' < compile_bdf_fonts.sh > compile_bdf_fonts2.sh # Convert line endings dos->unix
- sed -i "s/\.bdf/\.bdf;/g" compile_bdf_fonts2.sh # fix syntax error, missing ;.
- bash compile_bdf_fonts2.sh # no shebang, use bash explicitly
-
- # Install
- cd $srcdir/npp050-rev25-src/
- mkdir -p $pkgdir/usr/bin $pkgdir/usr/share
- cp -R lib $pkgdir/usr/share/nppangband/
- chmod -R 775 $pkgdir/usr/share/nppangband/
- chown -R root:games $pkgdir/usr/share/nppangband/
- install -m755 src/nppangband $pkgdir/usr/bin/nppangband
-
- # install custom license
- install -Dm644 COPYING $pkgdir/usr/share/licenses/$pkgname/COPYING
-}
-
-md5sums=('776d387ccbca31edf7eb30eb1402b0c9')