diff options
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" } |