aboutsummaryrefslogtreecommitdiffstats
path: root/community/caddy
diff options
context:
space:
mode:
author7heo <7heo@mail.com>2016-08-27 12:01:46 +0200
committerJakub Jirutka <jakub@jirutka.cz>2016-08-27 13:02:46 +0200
commit9fd168b7733ea98bd102aeb687dfc639d491e62a (patch)
treec440bb9e94f2acac36a1a63fb8893cdcfead50a3 /community/caddy
parentbe69752dfadb806acb94c19b995216c81ee394f3 (diff)
downloadaports-9fd168b7733ea98bd102aeb687dfc639d491e62a.tar.bz2
aports-9fd168b7733ea98bd102aeb687dfc639d491e62a.tar.xz
community/caddy: improve APKBUILD, less hardcoding
Diffstat (limited to 'community/caddy')
-rw-r--r--community/caddy/APKBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/community/caddy/APKBUILD b/community/caddy/APKBUILD
index 2daeefb3e5..0188699813 100644
--- a/community/caddy/APKBUILD
+++ b/community/caddy/APKBUILD
@@ -13,14 +13,14 @@ makedepends="go libcap bash glide"
install="$pkgname.pre-install"
pkgusers="$pkgname"
pkggroups="$pkgname"
-source="$pkgname-$pkgver.tar.gz::https://github.com/mholt/caddy/archive/v${pkgver}.tar.gz
+source="$pkgname-$pkgver.tar.gz::https://github.com/mholt/$pkgname/archive/v$pkgver.tar.gz
$pkgname.initd
$pkgname.confd
$pkgname.conf
glide.yaml
glide.lock
"
-builddir="$srcdir/caddy-$pkgver"
+builddir="$srcdir/$pkgname-$pkgver"
build() {
export GOPATH="$startdir"