diff options
author | Luca Weiss | 2016-12-22 07:56:44 +0100 |
---|---|---|
committer | Luca Weiss | 2016-12-22 07:56:44 +0100 |
commit | df3b61e6b0831d81fc82a678b397ef2355a18f1d (patch) | |
tree | 908d0976907ef1c4817e2dbe3f63ddf461cf8768 /PKGBUILD | |
parent | 89b58481cb265a9ebff4b0a036df76acc16919a1 (diff) | |
download | aur-ubuntu-device-flash-bzr.tar.gz |
Fix build thanks to themihai on launchpad
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 10 |
1 files changed, 7 insertions, 3 deletions
@@ -3,7 +3,7 @@ pkgname=ubuntu-device-flash-bzr _pkgname=ubuntu-device-flash pkgver=r233 -pkgrel=1 +pkgrel=2 pkgdesc="Tools to work with Ubuntu Touch" url="https://launchpad.net/goget-ubuntu-touch" arch=('x86_64' 'i686') @@ -30,9 +30,13 @@ build() { echo "go get: downloading dependencies..." go get -v -d + cd $GOPATH/src/github.com/jessevdk/go-flags + git checkout e790d18a5622970eed9448823164da625077784d + echo "go build: building executable..." # Prepare executable - go build + cd $GOPATH/src/launchpad.net/goget-ubuntu-touch/ubuntu-device-flash + go install } package() { @@ -42,7 +46,7 @@ package() { "$pkgdir/usr/share/licenses/$_pkgname/COPYING" # Package executables - install -Dm755 "$SOURCE_PATH/${_pkgname}/${_pkgname}" \ + install -Dm755 "$srcdir/build/bin/ubuntu-device-flash" \ "$pkgdir/usr/bin/$_pkgname" } |