diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-05-16 17:19:03 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-05-16 17:19:21 +0200 |
commit | 737279b1df723d1ec5d91f459341e4f10154f11b (patch) | |
tree | e71f2e94e5cf5e08abae28e96e0694a7d658e37e | |
parent | 3e82752270290122689dfddd5c612fb6480d4316 (diff) | |
download | aports-737279b1df723d1ec5d91f459341e4f10154f11b.tar.bz2 aports-737279b1df723d1ec5d91f459341e4f10154f11b.tar.xz |
testing/installflash: new aport
-rw-r--r-- | testing/installflash/APKBUILD | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/testing/installflash/APKBUILD b/testing/installflash/APKBUILD new file mode 100644 index 0000000000..cc33837300 --- /dev/null +++ b/testing/installflash/APKBUILD @@ -0,0 +1,45 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=installflash +# ghbump to update http://sprunge.us/bQYI +_sha=db1aba5b51b478c16b7e21eec5ad79a8d87d0d06 +_project="WnP/InstallFlash" +pkgver=20150516 +pkgrel=0 +pkgdesc="Alpine Linux FlashPlugin installer updater " +url="https://github.com/WnP/InstallFlash" +arch="all" +license="custom" +depends="" +depends_dev="" +makedepends="$depends_dev xz go" +install="" +subpackages="" +source="https://github.com/$_project/archive/$_sha.tar.gz" + +_builddir="$srcdir"/InstallFlash-$_sha + +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + export GOPATH="$srcdir" + go get github.com/WnP/InstallFlash || return 1 +} + +package() { + install -D "$srcdir"/bin/InstallFlash \ + "$pkgdir"/usr/bin/InstallFlash || return 1 +} + +md5sums="e4c8361d4ff39d972601df4b148196ec db1aba5b51b478c16b7e21eec5ad79a8d87d0d06.tar.gz" +sha256sums="73802a25147710c939ab8028499a7a01b49960738faa99b7fa5f2af91baca1cd db1aba5b51b478c16b7e21eec5ad79a8d87d0d06.tar.gz" +sha512sums="c0267cdb63ef6a2dec36e50bb47194afbcedea2a6f941654fe886cf613ab117631a851e362c7bca706fb4e0d66ec30f0b2ab642be612359d9f5e224b2830eec8 db1aba5b51b478c16b7e21eec5ad79a8d87d0d06.tar.gz" |