You are not logged in.
Pages: 1
[]
Last edited by Jarkore (2016-08-17 01:23:59)
Offline
You shouldn't write to ~: https://wiki.archlinux.org/index.php/Ar … _standards use a message in the .install instead
Offline
The (seemingly undocumented) convention is that this would be "pkgname=feednix-git". A PKGBUILD with "pkgname=feednix" would use your latest release and a file hash for the more security/stability minded.
Offline
'gcc' should not be in the makedeps. It's part of base-devel and assumed to be installed at build time.
arch=('any') means there is no architecture specific binaries in the final package (just scripts, data, etc). Is that the case?
|| return 1 is not needed. makepkg will fail on any errors.
Please use quotes around any paths containing variables, such as ${pkgdir}/usr/bin/feednix
As for the config file in the home dir, ideally, the program itself will check if that file exists and put it there on first run if it doesn't. Barring that, you may just have to put instructions in the install script for people to do it manually.
Last edited by Scimmia (2014-06-13 02:37:34)
Offline
[]
Last edited by Jarkore (2016-08-17 01:24:35)
Offline
I'm unsure what it does (since you install things manually anyway), but 'make install' should be in the package() function. Ideally you should be 'make install'ing into $pkgdir, but again, this depends on your makefile.
'make clean' at the end of the package function is also not needed. makepkg will create a clean build environment every time you run it (unless you tell it not to).
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Offline
[]
Last edited by Jarkore (2016-08-17 01:24:44)
Offline
There's one comment/question that you seem to have missed:
arch=('any') means there is no architecture specific binaries in the final package (just scripts, data, etc). Is that the case?
Offline
Pages: 1