[arch-commits] Commit in teensy-loader-cli/trunk (PKGBUILD)
Bruno Pagani
archange at archlinux.org
Sun Sep 1 06:38:00 UTC 2019
Date: Sunday, September 1, 2019 @ 06:37:59
Author: archange
Revision: 505874
Release actual 2.1 (FS#63364)
Modified:
teensy-loader-cli/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++----------
1 file changed, 9 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-09-01 06:37:46 UTC (rev 505873)
+++ PKGBUILD 2019-09-01 06:37:59 UTC (rev 505874)
@@ -5,25 +5,24 @@
pkgname=teensy-loader-cli
pkgver=2.1
-pkgrel=2
+pkgrel=3
pkgdesc="Command line loader for the teensy microprocessor boards"
-arch=('x86_64')
+arch=(x86_64)
url="https://www.pjrc.com/teensy/loader_cli.html"
-license=('GPL2')
-depends=('libusb-compat')
-source=(
- "https://www.pjrc.com/teensy/${pkgname//-/_}.${pkgver}.zip"
- "https://www.pjrc.com/teensy/49-teensy.rules")
-sha256sums=('dafd040d6748b52e0d4a01846d4136f3354ca27ddc36a55ed00d0a0af0902d46'
+license=(GPL2)
+depends=(libusb-compat)
+source=(https://github.com/PaulStoffregen/${pkgname//-/_}/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz
+ https://www.pjrc.com/teensy/49-teensy.rules)
+sha256sums=('5c36fe45b9a3a71ac38848b076cd692bf7ca8826a69941c249daac3a1d95e388'
'031de0b26991b5a3b19c497d9c0a17f86c40c55d925b9d07d19ab89f2286469d')
build() {
- cd ${pkgname//-/_}
+ cd ${pkgname//-/_}-${pkgver}
make
}
package() {
- cd ${pkgname//-/_}
+ cd ${pkgname//-/_}-${pkgver}
install -Dm755 teensy_loader_cli "${pkgdir}"/usr/bin/teensy-loader-cli
install -Dm644 "${srcdir}"/49-teensy.rules -t "${pkgdir}"/usr/lib/udev/rules.d/
}
More information about the arch-commits
mailing list