16 May
2014
16 May
'14
3:10 p.m.
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