summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorz3ntu2016-04-07 10:39:39 +0200
committerz3ntu2016-04-07 10:39:39 +0200
commit821d8b51a6931a3e133437cbdcf182e49b53eb6f (patch)
tree77612b43eca841913b9fabb9033586a378277043
downloadaur-821d8b51a6931a3e133437cbdcf182e49b53eb6f.tar.gz
Initial commit
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD39
2 files changed, 56 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..582bc73704d
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+# Generated by mksrcinfo v8
+# Thu Apr 7 08:32:22 UTC 2016
+pkgbase = ubuntu-device-flash
+ pkgver = 0.34
+ pkgrel = 1
+ url = https://launchpad.net/goget-ubuntu-touch
+ arch = x86_64
+ arch = i686
+ license = GPL3
+ makedepends = go
+ makedepends = bzr
+ depends = android-tools
+ source = https://launchpad.net/ubuntu/+archive/primary/+files/goget-ubuntu-touch_0.34.orig.tar.gz
+ md5sums = b8bddb2db18d1b47098bb94531b23c78
+
+pkgname = ubuntu-device-flash
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a40334c864a
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer:
+
+pkgname=ubuntu-device-flash
+pkgver=0.34
+pkgrel=1
+pkgdesc=""
+url="https://launchpad.net/goget-ubuntu-touch"
+arch=('x86_64' 'i686')
+license=('GPL3')
+depends=('android-tools')
+makedepends=('go' 'bzr')
+# options='!emptydirs'
+source=("https://launchpad.net/ubuntu/+archive/primary/+files/goget-ubuntu-touch_${pkgver}.orig.tar.gz")
+md5sums=('b8bddb2db18d1b47098bb94531b23c78')
+
+build() {
+ export GOPATH="$srcdir/build"
+
+ cd $srcdir/goget-ubuntu-touch-${pkgver}/${pkgname}
+
+ #download deps
+ echo "go get: downloading dependencies..."
+ go get -v -d
+
+ echo "go build: building executable..."
+ # Prepare executable
+ go build
+}
+
+package() {
+ SOURCE_PATH="$srcdir/goget-ubuntu-touch-${pkgver}"
+ # Package license (if available)
+ install -Dm644 "$SOURCE_PATH/COPYING" \
+ "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+
+ # Package executables
+ install -Dm755 "$SOURCE_PATH/${pkgname}/${pkgname}" \
+ "$pkgdir/usr/bin/$pkgname"
+}