blob: cc338373001ea1d45bcd120319668a261acb79e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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"
|