Date: Monday, December 17, 2018 @ 21:44:04 Author: felixonmars Revision: 416574
upgpkg: meshbird 2.1-1 Modified: meshbird/trunk/PKGBUILD ----------+ PKGBUILD | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-12-17 21:42:18 UTC (rev 416573) +++ PKGBUILD 2018-12-17 21:44:04 UTC (rev 416574) @@ -1,8 +1,8 @@ # Maintainer: Felix Yan <felixonm...@archlinux.org> pkgname=meshbird -pkgver=0.2 -pkgrel=3 +pkgver=2.1 +pkgrel=1 pkgdesc="Distributed private networking" arch=('x86_64') url="https://github.com/meshbird/meshbird" @@ -12,7 +12,7 @@ backup=(etc/meshbird.conf) source=("$pkgname-$pkgver.tar.gz::https://github.com/meshbird/meshbird/archive/v$pkgver.tar.gz" meshbird.service meshbird.conf) -sha512sums=('7e1d5453b7953c9c522207afcb97b9a88824f03493e77bed1626f578a6a34e152da6c7ab81bec1b1d1b2a32b3a74e1bf4f20877749c3b6b75e64321550a054d5' +sha512sums=('4adc4c6dccb44465ac6658711d1d7771bc0aef1bc7ed6c929c665fe79c8f712fcb9f490d88b68b0b1096dcdcb89fbccd624a031787379d90d3b259cea9b16852' 'b9b552f09d9f98c4ff90ce3d31b15f7a5c2453c1535fa17454043826bf5f108510a7a7512ef79dfd7b4d53615d06c690fe8fdd878a6894f8dc75ee934c0328e7' '08a493f299549b9eea830e1201d2131314b2c0c931c9fdd06a30e849c90368c7809c6a42bfded33aec44403cd8f61caad168b54bad08f5b21867f2d562f0c872') @@ -19,18 +19,16 @@ prepare() { mkdir .gopath export GOPATH="$srcdir"/.gopath - - go get github.com/codegangsta/cli github.com/meshbird/meshbird } build() { cd meshbird-$pkgver - go build # -gccgoflags "$CFLAGS $LDFLAGS" + make build } package() { cd meshbird-$pkgver - install -Dm755 meshbird-$pkgver "$pkgdir"/usr/bin/meshbird + install -Dm755 bin/meshbird "$pkgdir"/usr/bin/meshbird install -Dm644 "$srcdir"/meshbird.service "$pkgdir"/usr/lib/systemd/system/meshbird.service install -Dm644 "$srcdir"/meshbird.conf "$pkgdir"/etc/meshbird.conf }