From 97fe1c1470ccf4fd5d754da4ba196179ec06d7a4 Mon Sep 17 00:00:00 2001 From: xadet Date: Wed, 17 Sep 2014 19:53:00 +0100 Subject: [PATCH] chore(pkgbuild): remove custom dist --- Makefile | 7 ------- PKGBUILD | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/Makefile b/Makefile index 1037354..46c5490 100644 --- a/Makefile +++ b/Makefile @@ -1,5 +1,3 @@ -VERSION := 1.0.0 - build: go build @@ -9,8 +7,3 @@ install_deps: go get gopkg.in/elazarl/goproxy.v1 go get github.com/spf13/cobra go get github.com/spf13/viper - -dist: BASE := transpac-$(VERSION) -dist: - rm -f $(BASE).tar $(BASE).tar.bz2 - git archive --format=tar.gz --prefix $(BASE)/ -o $(BASE).tar.gz HEAD diff --git a/PKGBUILD b/PKGBUILD index 48f492e..4f05753 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -10,7 +10,7 @@ license=('Apache') makedepends=('go') options=('!strip' '!emptydirs') install=transpac.install -source=("$url/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz") +source=("$url/archive/v$pkgver.tar.gz") sha256sums=('582895d391a7e7cac901bd256dd9bc8f644141e873107b283a7c915e961c0493') build() {