Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fabiololix/pkgbuild
PKGBUILDs; almost all on the AUR, some personal stuff
https://github.com/fabiololix/pkgbuild
arch archlinux aur pkgbuild pkgbuilds
Last synced: 3 months ago
JSON representation
PKGBUILDs; almost all on the AUR, some personal stuff
- Host: GitHub
- URL: https://github.com/fabiololix/pkgbuild
- Owner: FabioLolix
- Created: 2016-10-25T19:34:24.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-23T19:35:39.000Z (5 months ago)
- Last Synced: 2024-08-23T21:11:08.976Z (5 months ago)
- Topics: arch, archlinux, aur, pkgbuild, pkgbuilds
- Language: Shell
- Homepage: https://aur.archlinux.org/packages/?O=0&SeB=M&K=FabioLolix&outdated=&SB=n&SO=a&PP=50&do_Search=Go
- Size: 1.92 MB
- Stars: 27
- Watchers: 8
- Forks: 8
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
## Packaging guidelines & tips
* prefer git+https over git:// for taking advantage of TLS encryption, also on github don't work since about April 2022
* sha256 is the preferred hash check
* cut 'v' and other prefixes from pkgver
* don't use custom variables when not needed (like use ${pkgname%-git})
* pkgrel is for internal use of the PKGBUILD and must not be used in source=() or as part of pkgver
* quoting in arch=() license=() depends=() makedepends=() depends=() is pointless and a personal choice,
except when needed.
optdepends=('gst-libav: additional codecs') license=('custom:WTFPL') license=('custom:corp EULA')* remember to quote variables for avoiding failures due to whitespaces in paths,
when Pinta pkgbuild was in the AUR it failed to build with CZ_cz language due to not quoted variables* use source_$ARCH for $ARCH specific sources
* use a common source folder, SRCDEST= in /etc/makepkg.conf
* add git submodules to source=(), it is a good packaging practice and make sources re-usable, especially with a common SRCDEST
* make downloaded sources non-conflicting and re-usable, i.e.
for archives: `url/v.${pkgver}.tar.gz` to `${pkgname}-${pkgver}::url/v.${pkgver}.tar.gz`
for git repository find a common ground for source name
+ for git avoid `${pkgname}-${pkgver}::git+url/name.git` (waste as redownload whole source )
+ for git avoid `${pkgname}::git+url/name.git when pkgname=$NAME-git` (i.e. textosaurus and textosaurus-git use the same source)
+ for git avoid `${pkgname}::git+url/name.git` when pkgname=name (pointless since source is already called 'name')
+ for ease of use when git source have uppercase name `${pkgname}::git+url/Name.git ${pkgname%-git}::git+url/Name.git`
* install not common licenses in `${pkgdir}/usr/share/licenses/${pkgname}`, not mandatory to install common licenses; see 'licenses' package