Package Details: teensy-loader-cli-git 2.2.r0.g9908286-1

Git Clone URL: https://aur.archlinux.org/teensy-loader-cli-git.git (read-only, click to copy)
Package Base: teensy-loader-cli-git
Description: Command line loader for the teensy microprocessor boards
Upstream URL: https://www.pjrc.com/teensy/loader_cli.html
Keywords: cli loader, teensy,
Licenses: GPL2
Conflicts: teensy-loader-cli
Provides: teensy-loader-cli
Submitter: lowfatcomputing
Maintainer: BugSquanch
Last Packager: BugSquanch
Votes: 8
Popularity: 0.000000
First Submitted: 2015-01-28 16:27 (UTC)
Last Updated: 2024-02-23 19:45 (UTC)

Dependencies (3)

Required by (0)

Sources (2)

Latest Comments

1 2 Next › Last »

azk commented on 2021-11-29 08:51 (UTC)

Dropped ownership, I don't really use this anymore, feel free to adopt.

sickcodes commented on 2021-11-21 00:12 (UTC)

Awesome @Edholm, is anyone maintaining this, I am happy to adopt

Edholm commented on 2021-09-25 10:57 (UTC)

Here is a working PKGBUILD: Renamed the rules file and updated its sha256 sum.

# Maintainer: azk <aphexv@gmail.com>
# Contributor: Andreas Wagner <andreas.wagner@lowfatcomputing.org>

pkgname=teensy-loader-cli-git
pkgver=2.1.r38.g9dbbfa3
pkgrel=1
pkgdesc="Command line loader for the teensy microprocessor boards"
arch=('i686' 'x86_64')
url="https://www.pjrc.com/teensy/loader_cli.html"
license=('GPL2')
makedepends=('gcc' 'make')
depends=('libusb-compat')
provides=('teensy-loader-cli')
conflicts=('teensy-loader-cli')
source=("${pkgname}::git+https://github.com/PaulStoffregen/teensy_loader_cli.git"
        "https://www.pjrc.com/teensy/00-teensy.rules")
sha256sums=('SKIP'
    '17f56b63603271e2cdae291fed347b66dfbdfd089b2847cf0b4383c877ffacfb')

pkgver() {
  cd "$pkgname"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "${srcdir}/${pkgname}"
  make
}

package() {
  cd "${srcdir}/${pkgname}"
  install -Dm755 "teensy_loader_cli" "${pkgdir}/usr/bin/teensy_loader_cli"
  install -Dm644 "${srcdir}/00-teensy.rules" \
    "${pkgdir}/etc/udev/rules.d/00-teensy.rules"
}

azk commented on 2017-12-03 19:47 (UTC) (edited on 2017-12-03 19:50 (UTC) by azk)

@dvzrv Switched to sha256 and https, also followed your advice on the install line. 49-teensy.rules checksum checks out now.

Thanks for the tips.

dvzrv commented on 2017-12-02 11:19 (UTC)

@azk: Also, the udev rule is available as https and you might want to up your checksum to something more secure, such as sha265sum.

dvzrv commented on 2017-12-02 11:17 (UTC)

@azk: Generally, follow upstream (so, yes! :) ). You should shorten the install though: install -Dm755 "teensy_loader_cli" "${pkgdir}/usr/bin/teensy_loader_cli" Also, you can add a variable (e.g. $_bin) to store/reuse the binary name.

vendion commented on 2017-08-23 14:48 (UTC)

The checksums are wrong again, I have a calculated MD5 of 056fe11cf5d4daf2dcf5e0014215bf8f

azk commented on 2017-06-29 14:47 (UTC)

I adopted the package and fixed some stuff. MD5sum for 49-teensy.rules is fixed. Versioning scheme now is according to AUR recommendations for this kind of package. Binary has been renamed to reflect upstream name. (Was teensy-loader-cli, now teensy_loader_cli.) @dvzrv any objections to the binary renaming?

azk commented on 2017-06-29 14:03 (UTC)

Checksum on 49-teensy.rules is out again. Useless renaming of the binary breaks expectations when used in buildchains.

lowfatcomputing commented on 2017-06-17 23:56 (UTC)

@dvzrv: Disowned. Feel free to adopt it.