You are not logged in.
Hello,
Was hoping I could get some feedback for my PKGBUILD for the rattlesnakeOS-stack package. Thanks in advance!
pkgname=rattlesnakeos-stack-git
pkgver=10.0.0.beta.2.r0.g1aa32df
pkgrel=1
pkgdesc="Security focused Android OS in the cloud with OTA updates. "
arch=('i686' 'x86_64')
license=('MIT')
depends=('aws-cli')
makedepends=('go' 'git')
url='https://github.com/dan-v/rattlesnakeos-stack'
source=("git+${url}")
md5sums=('SKIP')
build() {
cd "${srcdir}/${pkgname%-git}"
export GOPATH="${srcdir}/gopath"
make tools
make build
}
package() {
cd "${srcdir}/${pkgname%-git}"
export GOPATH="${srcdir}/gopath"
install -Dm755 "${pkgname%-git}" "${pkgdir}"/usr/bin/"${pkgname%-git}"
install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/"${pkgname%-git}"/LICENSE"
chmod -R 644 "$GOPATH"
}
pkgver() {
cd "${pkgname%-git}"
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
Offline
read https://wiki.archlinux.org/index.php/Go … guidelines
The sourecode does have go.mod & go.sum files, so the section about "modern Go Projects" seems applicable.
Have you tested whether this package works on i686 ?
If not, please remove i686 from arch= array.
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
(A works at time B) && (time C > time B ) ≠ (A works at time C)
Offline
Thanks for the feedback. Yes, seems like like I can replace `make tools; make` with `go build .` And regarding the arch array, indeed, I have not tested it on i686. Thanks again!
Offline