archrelease: copy trunk to community-any
[ArchLinux/community.git] / teensy-loader-cli / repos / community-x86_64 / PKGBUILD
blob26afdaf72a8b1e5aad9d82fbd8a6df8a4beeb572
1 # Maintainer: Kyle Keen <keenerd@gmail.com>
2 # Maintainer: Bruno Pagani <archange@archlinux.org>
3 # Creator: Peter Feigl <craven@gmx.net>
4 # Modified: Josh Kropf <josh@slashdev.ca>
6 pkgbase=teensy-loader-cli
7 pkgname=teensy_loader_cli
8 pkgver=2.2
9 pkgrel=2
10 pkgdesc="Command line loader for the teensy microprocessor boards"
11 arch=(x86_64)
12 url="https://www.pjrc.com/teensy/loader_cli.html"
13 license=(GPL2)
14 depends=(libusb-compat)
15 provides=(${pkgbase})
16 conflicts=(${pkgbase})
17 replaces=(${pkgbase})
18 source=(https://github.com/PaulStoffregen/${pkgname}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
19         https://www.pjrc.com/teensy/00-teensy.rules)
20 sha256sums=('103c691f412d04906c4f46038c234d3e5f78322c1b78ded102df9f900724cd54'
21             '17f56b63603271e2cdae291fed347b66dfbdfd089b2847cf0b4383c877ffacfb')
23 build() {
24   cd ${pkgname}-${pkgver}
25   make
28 package() {
29   cd ${pkgname}-${pkgver}
30   install -Dm755 ${pkgname} -t "${pkgdir}"/usr/bin/
31   install -Dm644 "${srcdir}"/00-teensy.rules -t "${pkgdir}"/usr/lib/udev/rules.d/