Hi,
im still working on PKGBUILDs of maintained *Bands for Archlinux. I already built one for Posband. NPPAngband, Angband, EyAngband, Hengband, Mangband and Zangband already exists (so quite a lot).
My next one should be a PKGBUILD for UnAngband. Sadly there is no configure script included in the package. So i compiled it successfully as a user. But to install it, i need to change the Paths to
/usr/bin for the unangband binary
/usr/lib/unangband (or something similar) for the lib/* directory tree.
Sadly i dont know where to change the install Paths. Looks a bit like i have to patch the config.h to reflect the Library-Path, but maybe there is another way/idea?
I already tried the ANGBAND_PATH environment variable, which doesnt seem to work. Andrew pointed me to the forums since he doesnt maintain the linux port directly.
The same question seems to come up also for Gumband. So please help me bringing the Angband multiverse to Arch
Edit: I think, i found it. A simple
will do the trick. Sure i have to change some permissions, but it seems to work.
A better/simpler way is still appreciated.
im still working on PKGBUILDs of maintained *Bands for Archlinux. I already built one for Posband. NPPAngband, Angband, EyAngband, Hengband, Mangband and Zangband already exists (so quite a lot).
My next one should be a PKGBUILD for UnAngband. Sadly there is no configure script included in the package. So i compiled it successfully as a user. But to install it, i need to change the Paths to
/usr/bin for the unangband binary
/usr/lib/unangband (or something similar) for the lib/* directory tree.
Sadly i dont know where to change the install Paths. Looks a bit like i have to patch the config.h to reflect the Library-Path, but maybe there is another way/idea?
I already tried the ANGBAND_PATH environment variable, which doesnt seem to work. Andrew pointed me to the forums since he doesnt maintain the linux port directly.
The same question seems to come up also for Gumband. So please help me bringing the Angband multiverse to Arch
Edit: I think, i found it. A simple
Code:
mv config.h config.h.org sed -e 's/\#\ define\ DEFAULT_PATH\ \"\.\/lib\/\"/\#\ define\ DEFAULT_PATH\ \"\/usr\/lib\/unangband\/\"/' config.h.org > config.h
A better/simpler way is still appreciated.
Comment