public
Created

teensy-loader-cli PKGBUILD

  • Download Gist
PKGBUILD
Shell
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
# Creator: Peter Feigl <craven@gmx.net>
# Modified: Josh Kropf <josh@slashdev.ca>
pkgname=teensy-loader-cli
pkgver=2.0
pkgrel=2
pkgdesc="Command line loader for the teensy microprocessor boards"
arch=('i686' 'x86_64')
url="http://www.pjrc.com/teensy/loader_cli.html"
license=('GPL2')
depends=('gcc')
source=(
"http://www.pjrc.com/teensy/${pkgname//-/_}.${pkgver}.tar.gz"
"http://www.pjrc.com/teensy/49-teensy.rules"
)
md5sums=(
'29376dce1b37826c91839a53cff75dc0'
'298d44a8a6252ee5a39b8c180519e17b'
)
 
build() {
cd ${srcdir}/${pkgname//-/_}
make || return 1
mkdir -p ${pkgdir}/usr/bin/
}
 
package() {
install -D -m755 ${srcdir}/${pkgname//-/_}/teensy_loader_cli ${pkgdir}/usr/bin/teensy-loader-cli
install -D -m644 ${srcdir}/49-teensy.rules ${pkgdir}/etc/udev/rules.d/49-teensy.rules
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.