blob: db8dc3c33bb9a62c9f0f0890a23626fa2125ee04 (
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
46
47
48
|
# Maintainer: Uffe Jakobsen _<_uffe_at_uffe_dot_org_>_
pkgname=proploader-git
_gitname=PropLoader
pkgver=v1.0.37.r15.ga1b4cd8
pkgrel=1
pkgdesc="Parallax Propeller loader supporting both serial and wifi downloads"
arch=('x86_64' 'i686')
url="https://github.com/parallaxinc/PropLoader"
license=('LicenseRef-MIT')
groups=()
depends=()
makedepends=('openspin')
provides=("${pkgname}")
conflicts=("${pkgname}-git")
replaces=()
backup=()
options=()
install=
source=("git+https://github.com/parallaxinc/${_gitname}")
sha256sums=('SKIP')
pkgver()
{
cd "${srcdir}/${_gitname}"
git describe --tags --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build()
{
cd "${srcdir}/${_gitname}"
make OS=linux BUILD="${PWD}/build" GITDESC="${pkgver}"
}
package()
{
cd "${srcdir}/${_gitname}"
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"
install -Dm 755 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
#
# EOF
#
|