[aur-general] swiften-git, spectrum2-git

Jeremy Audet ichimonji10 at gmail.com
Fri May 16 11:10:49 EDT 2014


Don't clone Git repositories manually. Pacman has the ability to do
that itself. For an example, see [1]. I also believe it's good
practice to make -git packages conflict with and provide non-git
versions of the same package. I would place the following lines in
your spectrum2-git package:

    provides=("${pkgname%-git}")
    conflicts=("${pkgname%-git}")

Or:

    provides=(spectrum2)
    conflicts=(spectrum2)

I also believe you can strip the empty lists from your spectrum2-git
package. For example, `backup=()` [2] is unnecessary.

— Jeremy "Ichimonji10" Audet

[1] https://github.com/Ichimonji10/PKGBUILDs/blob/master/vim-hemisu-git/PKGBUILD
[2] https://gist.github.com/gdkags/6df5cb155356b7a9caee#file-pkgbuild-L15


More information about the aur-general mailing list