diff options
author | z3ntu | 2016-04-10 00:49:11 +0200 |
---|---|---|
committer | z3ntu | 2016-04-10 00:49:11 +0200 |
commit | da863fc4460f2dc40f59b1a46576babfcc7caee3 (patch) | |
tree | 5e8c9217fc5e32d9abb63b0d753671e9ae0cbe50 | |
parent | 6ec14edf0c2e473d54d9a351b04c14cd65c2a036 (diff) | |
download | aur-da863fc4460f2dc40f59b1a46576babfcc7caee3.tar.gz |
fix license & forgotten git makedependency
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 4 deletions
@@ -1,5 +1,5 @@ # Generated by mksrcinfo v8 -# Sat Apr 9 22:43:48 UTC 2016 +# Sat Apr 9 22:48:53 UTC 2016 pkgbase = azure-vhd-utils-for-go-git pkgdesc = Azure VHD utilities for Go. pkgver = r21.7db4795 @@ -9,6 +9,7 @@ pkgbase = azure-vhd-utils-for-go-git arch = i686 license = MIT makedepends = go + makedepends = git options = !strip options = !emptydirs @@ -1,18 +1,19 @@ # Maintainer: Luca Weiss <WEI16416@spengergasse.at> pkgname=azure-vhd-utils-for-go-git +_pkgname=azure-vhd-utils-for-go pkgver=r21.7db4795 pkgrel=1 pkgdesc="Azure VHD utilities for Go." arch=('x86_64' 'i686') url="https://github.com/Microsoft/azure-vhd-utils-for-go" license=('MIT') -makedepends=('go') +makedepends=('go' 'git') options=('!strip' '!emptydirs') _gourl=github.com/Microsoft/azure-vhd-utils-for-go pkgver() { - cd $pkgname + cd $_pkgname printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } @@ -23,7 +24,7 @@ build() { package() { install -Dm755 $srcdir/build/bin/azure-vhd-utils-for-go "$pkgdir/usr/bin/vhd" - install -Dm644 $srcdir/build/src/${_gourl}/LICENSE "$pkgdir/usr/share/licenses/$_pkgname/LICENSE" + install -Dm644 $srcdir/build/src/${_gourl}/LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } # vim:set ts=2 sw=2 et: |