@yochananmarqos ehi man it's a make without install INSTALL_ROOT is a global variable. sit back and relax and read what other people write. It's not
make INSTALL_ROOT=$pkgdir install
but
make INSTALL_ROOT=$pkgdir
is it clear now?
Git Clone URL: | https://aur.archlinux.org/devilutionx.git (read-only, click to copy) |
---|---|
Package Base: | devilutionx |
Description: | Diablo devolved for linux (main package) |
Upstream URL: | https://github.com/diasurgical/devilutionX |
Keywords: | 1 Blizzard Diablo Game Hellfire Multiplayer Singleplayer |
Licenses: | custom:UNLICENSE |
Submitter: | robertfoster |
Maintainer: | robertfoster |
Last Packager: | robertfoster |
Votes: | 19 |
Popularity: | 0.026631 |
First Submitted: | 2019-11-17 18:10 (UTC) |
Last Updated: | 2025-02-08 21:18 (UTC) |
« First ‹ Previous 1 2 3 4
@yochananmarqos ehi man it's a make without install INSTALL_ROOT is a global variable. sit back and relax and read what other people write. It's not
make INSTALL_ROOT=$pkgdir install
but
make INSTALL_ROOT=$pkgdir
is it clear now?
@robertfoster: See the PKGBUILD template and guidelines, make install
is only ever used in the package()
function. We only need make
as the files are being installed manually, anyway.
@yochananmarqos make doesn't have the install directive if you pay more attention. it has only an INSTALL_ROOT variable as reported in official .spec and debian packaging resources. so also it's position in build() function is done in the right way. I toke inspiration from your PKGBUILD but I leave some things (like tar.gz instead of git, the choice to use DIABDAT.MPQ during the building phase...) that I prefer. I added you as Contributor
I didn't even notice the TTF_FONT_PATH
flag, nice!
Do not use make install
or touch the $pkgdir
in the build()
function. It should be used only in the package()
function which uses the fakeroot environment to place the files in the right places with the proper permissions.
With that being said, that won't work with this project:
make: *** No rule to make target 'install'. Stop.
Proper PKGBUILD. You'll need to place your DIABDAT.MPQ
in the build directory.
even after installing ttf-charis-sil (which should probably be marked as non-optional dependency), it keeps crashing after character creation screen with "TTF_OpenFont: Couldn't open CharisSILB.ttf" error
Place diabdat.mpq ~/.local/share/diasurgical/devilution
shasum 5cfd971abb25602731fef0c9b43eb7d7447f296e diabdat.mpq
Pinned Comments
robertfoster commented on 2021-11-02 20:41 (UTC) (edited on 2022-04-19 18:45 (UTC) by robertfoster)
This provides splitted extra voices (Polish dub by professional actors) and extra-fonts for CJK dialogues.
set your Language code within
.local/share/diasurgical/devilution/diablo.ini
As example