summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 2477546c41b736b4f415d7c045e4c8d673d679df (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
# Maintainer: Uffe Jakobsen _<_uffe_at_uffe_dot_org_>_
pkgname=proploader
_pkgname=PropLoader
pkgver=1.0_37
_pkgver=1.0-37
pkgrel=1
pkgdesc="Parallax Propeller loader supporting both serial and wifi downloads"
arch=('x86_64' 'i686')
url="https://github.com/parallaxinc/PropLoader"
license=('MIT')
groups=()
depends=()
makedepends=()
provides=("${pkgname}")
conflicts=("${pkgname}-git")
replaces=()
backup=()
options=()
install=
source=("https://github.com/parallaxinc/${_pkgname}/archive/v${_pkgver}.tar.gz")
md5sums=('d758a0bfe2f477ecbffb130159f58cb3')


build()
{
	cd "${srcdir}/${_pkgname}-${_pkgver}"
	make OS=linux BUILD="${PWD}/build" GITDESC="${_pkgver}"
}

package()
{
	cd "${srcdir}/${_pkgname}-${_pkgver}"
  install -Dm 755 "build/bin/proploader" "${pkgdir}/usr/bin/proploader"
  install -Dm 755 "build/bin/split" "${pkgdir}/usr/bin/proploader-split"
  install -Dm 755 "build/bin/split" "${pkgdir}/usr/bin/proploader-split"
  install -Dm 755 "build/blink-fast.binary" "${pkgdir}/usr/share/proploader/blink-fast.binary"
  install -Dm 755 "build/blink-slow.binary" "${pkgdir}/usr/share/proploader/blink-slow.binary"
}

#
# EOF
#