diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2015-07-17 10:02:54 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2015-07-17 10:02:54 +0000 |
commit | d2f5b99386fea84d504aeb54a874c1c5075e30ef (patch) | |
tree | 71564fc8a39b6159105018283673796e7a9a62c1 /testing | |
parent | c31933511f6b41f8e5b9c7f0389ef93e0a17a61c (diff) | |
download | aports-d2f5b99386fea84d504aeb54a874c1c5075e30ef.tar.bz2 aports-d2f5b99386fea84d504aeb54a874c1c5075e30ef.tar.xz |
testing/docker-registry: changed licenses, apk formatting
Diffstat (limited to 'testing')
-rw-r--r-- | testing/docker-registry/APKBUILD | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/testing/docker-registry/APKBUILD b/testing/docker-registry/APKBUILD index 1c0e30262d..d5a90f4b9a 100644 --- a/testing/docker-registry/APKBUILD +++ b/testing/docker-registry/APKBUILD @@ -5,7 +5,7 @@ pkgrel=1 pkgdesc="An implementation of the Docker Registry HTTP API V2 for use with docker 1.6+." url="https://github.com/docker/distribution" arch="x86_64" -license="MIT" +license="Apache 2.0" makedepends="git go" source="$pkgname-$pkgver.tar.gz::${url}/archive/v${pkgver}.tar.gz docker-registry.initd" @@ -22,21 +22,20 @@ prepare() { } build() { - export DISTRIBUTION_DIR="${_builddir}" - export GOPATH="${DISTRIBUTION_DIR}/Godeps/_workspace" - cd "${DISTRIBUTION_DIR}" - - # GOPATH fix - ln -s "${DISTRIBUTION_DIR}" "${DISTRIBUTION_DIR}/Godeps/_workspace/src/github.com/docker/distribution" - - make clean binaries || return 1 + export DISTRIBUTION_DIR="${_builddir}" + export GOPATH="${DISTRIBUTION_DIR}/Godeps/_workspace" + cd "${DISTRIBUTION_DIR}" + # GOPATH fix + ln -s "${DISTRIBUTION_DIR}" "${DISTRIBUTION_DIR}/Godeps/_workspace/src/github.com/docker/distribution" + make clean binaries || return 1 } package() { - export DISTRIBUTION_DIR="${srcdir}/distribution-${pkgver}" - install -v -D -m755 "${srcdir}/${pkgname}.initd" "${pkgdir}/etc/init.d/${pkgname}" - install -v -D -m755 "${DISTRIBUTION_DIR}/bin/registry" "${pkgdir}/usr/bin/${pkgname}" - install -v -D -m644 "${DISTRIBUTION_DIR}/cmd/registry/config.yml" "${pkgdir}/etc/${pkgname}/config.yml" + export DISTRIBUTION_DIR="${srcdir}/distribution-${pkgver}" + install -v -D -m755 "${srcdir}/${pkgname}.initd" "${pkgdir}/etc/init.d/${pkgname}" + install -v -D -m755 "${DISTRIBUTION_DIR}/bin/registry" "${pkgdir}/usr/bin/${pkgname}" + install -v -D -m644 "${DISTRIBUTION_DIR}/cmd/registry/config.yml" "${pkgdir}/etc/${pkgname}/config.yml" + install -v -D -m644 ${_builddir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname} } md5sums="7dc693ced280834bb37913b7164953b7 docker-registry-2.0.1.tar.gz 7bb346742afa5d44ef15df9855f295b1 docker-registry.initd" |