You are not logged in.
Pages: 1
Could somebody please create a wiki page explaining the use of the .install file ... how you have to name it ... and the USE of Arg1 and Arg2? I'm trying to fix one of my AUR builds ... and create a new one ... so that they gives messages post-install instead of build time.
Thanks!
Res Publica Non Dominetur
Laptop: Arch x86 | Thinkpad X220 | Core i5 2410-M | 8 GB DDR3 | Sandy Bridge
Desktop: Arch x86_64 | Custom | Core i7 920 | 6 GB DDR3 | GeForce 260 GTX
Offline
There is a prototype in /usr/share/pacman/proto.install. The totem package (use abs to grab) has a good example of how to use it.
Online
Yea, I used the /usr/share/pacman/proto.install as a template, it just seems makepkg is ignoring it. I'm probably naming it wrong.
I've tried:
.INSTALL
pkgname.install
pkgname-version.install
I'll keep trying until I find what appeases it
Res Publica Non Dominetur
Laptop: Arch x86 | Thinkpad X220 | Core i5 2410-M | 8 GB DDR3 | Sandy Bridge
Desktop: Arch x86_64 | Custom | Core i7 920 | 6 GB DDR3 | GeForce 260 GTX
Offline
You need to add "install=${pkgname}.install" or whatever you name it to your PKGBUILD. Any name should work but I recommend sticking with the ${pkgname}.install format.
Online
I'll keep trying until I find what appeases it
Trial and error will usually work (eventually), but nothing beats proper research IMO. In this case, man PKGBUILD provides a relevant description and example, and as Allan suggests, reviewing existing builds in a good way to expand on that.
Feel free to add some details to the wiki yourself - this page is probably the most suitable.
Offline
BINGO! Thanks! Yea, was looking on the wiki and it mentioned nothing about how to do that. I'll change that in a few.
Res Publica Non Dominetur
Laptop: Arch x86 | Thinkpad X220 | Core i5 2410-M | 8 GB DDR3 | Sandy Bridge
Desktop: Arch x86_64 | Custom | Core i7 920 | 6 GB DDR3 | GeForce 260 GTX
Offline
Pages: 1