# command will be installed to your root directory.įind $srcdir/ -mindepth 1 -maxdepth 1 -type d | xargs cp -r -t "$pkgdir"īe sure to edit the variables in the template as needed for your package. # symlink to it, which we don't want to copy anything in $pkgdir after this # been populated with the contents of package.rpm, but it also contains a # Copy all directories from $srcdir into $pkgdir. Otherwise, replace SKIP with the output of # Assuming you're not going to push this to AUR or whatever, you can just skip # The RPM file you want to install place in the same directory as this file. Pkgdesc="Short description of rpm package" # package manager or cause name conflicts with the repositories. PKGBUILD: # Metadata be sure to set this to reasonable values to not confuse your So I find myself motivated to help others out here: The templates link in HalosGhost's answer is now a redirect to a page that only covers the variables within a PKGBUILD. I was genuinely surprised at the lack of examples! Arch bundles a few make/configure examples in /usr/share/pacman, but that's it.
0 Comments
Leave a Reply. |