summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorOliver vBK2015-07-10 22:44:31 -0300
committerOliver vBK2015-07-10 22:44:31 -0300
commitd532063a990a45dd42443853163158229483ffbd (patch)
tree6d71c35e570499f29d87926083e53673487984ab
downloadaur-d532063a990a45dd42443853163158229483ffbd.tar.gz
Initial Import
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD42
2 files changed, 58 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..1bcd0c048b4
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = ubuntu-device-flash
+ pkgdesc = Flash supported Nexus devices with Ubuntu.
+ pkgver = 0.4+14.10.20141002
+ pkgrel = 3
+ url = http://packages.ubuntu.com/trusty/devel/ubuntu-device-flash
+ arch = any
+ license = GPL3
+ makedepends = go
+ makedepends = bzr
+ depends = android-tools
+ depends = sudo
+ source = https://launchpad.net/ubuntu/+archive/primary/+files/goget-ubuntu-touch_0.4+14.10.20141002.orig.tar.gz
+ md5sums = 3dca7517e95af8348f191137d6ed8bac
+
+pkgname = ubuntu-device-flash
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..76e51341ee0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Oliver Kuster <oliver.kuster[at]gmail[dot]com>
+pkgname=ubuntu-device-flash
+pkgver=0.4+14.10.20141002
+pkgrel=3
+pkgdesc="Flash supported Nexus devices with Ubuntu."
+url="http://packages.ubuntu.com/trusty/devel/ubuntu-device-flash"
+arch=('any')
+license=('GPL3')
+depends=('android-tools' 'sudo' )
+makedepends=('go' 'bzr')
+# options='!emptydirs'
+source=(
+"https://launchpad.net/ubuntu/+archive/primary/+files/goget-ubuntu-touch_${pkgver}.orig.tar.gz"
+)
+md5sums=('3dca7517e95af8348f191137d6ed8bac')
+
+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"
+}
+
+# vim:set ts=2 sw=2 et: