Date: Monday, January 30, 2017 @ 22:50:24 Author: anatolik Revision: 209580
archrelease: copy trunk to community-testing-i686, community-testing-x86_64 Added: stlink/repos/community-testing-i686/ stlink/repos/community-testing-i686/PKGBUILD (from rev 209579, stlink/trunk/PKGBUILD) stlink/repos/community-testing-i686/stlink.install (from rev 209579, stlink/trunk/stlink.install) stlink/repos/community-testing-x86_64/ stlink/repos/community-testing-x86_64/PKGBUILD (from rev 209579, stlink/trunk/PKGBUILD) stlink/repos/community-testing-x86_64/stlink.install (from rev 209579, stlink/trunk/stlink.install) -----------------------------------------+ community-testing-i686/PKGBUILD | 33 ++++++++++++++++++++++++++++++ community-testing-i686/stlink.install | 22 ++++++++++++++++++++ community-testing-x86_64/PKGBUILD | 33 ++++++++++++++++++++++++++++++ community-testing-x86_64/stlink.install | 22 ++++++++++++++++++++ 4 files changed, 110 insertions(+) Copied: stlink/repos/community-testing-i686/PKGBUILD (from rev 209579, stlink/trunk/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2017-01-30 22:50:24 UTC (rev 209580) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> + +pkgname=stlink +pkgver=1.3.0 +pkgrel=1 +pkgdesc='Firmware programmer for STM32 STLINK v1/v2 protocol' +arch=(i686 x86_64) +url='https://github.com/texane/stlink' +license=(BSD) +# Add support for gtk3-based GUI +depends=(libusb) +makedepends=(cmake) +install=stlink.install +source=($pkgname-$pkgver.zip::https://github.com/texane/stlink/archive/$pkgver.zip) +sha256sums=('b96a41fcdcf82d196d31953ae653c211650059c9a15f3d5bd7682a7b573241ab') + +build() { + cd stlink-$pkgver + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \ + -DSTLINK_UDEV_RULES_DIR=/usr/lib/udev/rules.d \ + -DSTLINK_MODPROBED_DIR=/usr/lib/modprobe.d + make +} + +package() { + cd stlink-$pkgver + + make DESTDIR="$pkgdir" install + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm "$pkgdir"/usr/lib/libstlink.a +} Copied: stlink/repos/community-testing-i686/stlink.install (from rev 209579, stlink/trunk/stlink.install) =================================================================== --- community-testing-i686/stlink.install (rev 0) +++ community-testing-i686/stlink.install 2017-01-30 22:50:24 UTC (rev 209580) @@ -0,0 +1,22 @@ +msg() { + udevadm control --reload-rules + echo "You may have to reload the usb-storage module." + echo "To do this use" + echo " modprobe -r usb-storage && modprobe usb-storage" +} + +# arg 1: the new package version +post_install() { + msg +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + msg +} + +# arg 1: the old package version +post_remove() { + msg +} Copied: stlink/repos/community-testing-x86_64/PKGBUILD (from rev 209579, stlink/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2017-01-30 22:50:24 UTC (rev 209580) @@ -0,0 +1,33 @@ +# $Id$ +# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> + +pkgname=stlink +pkgver=1.3.0 +pkgrel=1 +pkgdesc='Firmware programmer for STM32 STLINK v1/v2 protocol' +arch=(i686 x86_64) +url='https://github.com/texane/stlink' +license=(BSD) +# Add support for gtk3-based GUI +depends=(libusb) +makedepends=(cmake) +install=stlink.install +source=($pkgname-$pkgver.zip::https://github.com/texane/stlink/archive/$pkgver.zip) +sha256sums=('b96a41fcdcf82d196d31953ae653c211650059c9a15f3d5bd7682a7b573241ab') + +build() { + cd stlink-$pkgver + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr \ + -DSTLINK_UDEV_RULES_DIR=/usr/lib/udev/rules.d \ + -DSTLINK_MODPROBED_DIR=/usr/lib/modprobe.d + make +} + +package() { + cd stlink-$pkgver + + make DESTDIR="$pkgdir" install + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm "$pkgdir"/usr/lib/libstlink.a +} Copied: stlink/repos/community-testing-x86_64/stlink.install (from rev 209579, stlink/trunk/stlink.install) =================================================================== --- community-testing-x86_64/stlink.install (rev 0) +++ community-testing-x86_64/stlink.install 2017-01-30 22:50:24 UTC (rev 209580) @@ -0,0 +1,22 @@ +msg() { + udevadm control --reload-rules + echo "You may have to reload the usb-storage module." + echo "To do this use" + echo " modprobe -r usb-storage && modprobe usb-storage" +} + +# arg 1: the new package version +post_install() { + msg +} + +# arg 1: the new package version +# arg 2: the old package version +post_upgrade() { + msg +} + +# arg 1: the old package version +post_remove() { + msg +}