[arch-commits] Commit in easy-pdk/repos (community-x86_64 community-x86_64/PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Sat Jul 18 14:06:46 UTC 2020


    Date: Saturday, July 18, 2020 @ 14:06:46
  Author: ffy00
Revision: 664419

archrelease: copy trunk to community-x86_64

Added:
  easy-pdk/repos/community-x86_64/
  easy-pdk/repos/community-x86_64/PKGBUILD
    (from rev 664418, easy-pdk/trunk/PKGBUILD)

----------+
 PKGBUILD |   36 ++++++++++++++++++++++++++++++++++++
 1 file changed, 36 insertions(+)

Copied: easy-pdk/repos/community-x86_64/PKGBUILD (from rev 664418, easy-pdk/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2020-07-18 14:06:46 UTC (rev 664419)
@@ -0,0 +1,36 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=easy-pdk-programmer-software
+pkgname=easy-pdk
+pkgver=1.3
+pkgrel=1
+pkgdesc='Easy PDK programmer for PADAUK microcontroller'
+arch=('x86_64')
+url='https://github.com/free-pdk/easy-pdk-programmer-software'
+license=('GPL')
+makedepends=('arm-none-eabi-gcc' 'arm-none-eabi-newlib' 'dfu-util')
+optdepends=('dfu-util: flash the programmer')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha512sums=('d9c21ddc258018a45da2864b03b8f507a71b4086251867cad1cf157fa651ae211dded6717ee4920d8d417712c72e5dc47445271c4000e43f2dfcffa2e93fc1ab')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  make
+
+  cd Firmware/source
+
+  make
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  install -Dm 755 easypdkprog "$pkgdir"/usr/bin/easypdkprog
+
+  install -Dm 644 Linux_udevrules/70-stm32vcp.rules "$pkgdir"/usr/lib/udev/rules.d/70-stm32vcp.rules
+
+  install -Dm 644 Firmware/source/build/EASYPDKPROG.bin "$pkgdir"/usr/share/$pkgname/EASYPDKPROG.bin
+  install -Dm 644 Firmware/source/build/EASYPDKPROG.dfu "$pkgdir"/usr/share/$pkgname/EASYPDKPROG.dfu
+}
+



More information about the arch-commits mailing list