[arch-commits] Commit in stlink/repos (6 files)

2017-02-27 Thread Anatol Pomozov
Date: Monday, February 27, 2017 @ 18:35:36
  Author: anatolik
Revision: 214091

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 214090, stlink/trunk/PKGBUILD)
  stlink/repos/community-testing-i686/stlink.install
(from rev 214090, stlink/trunk/stlink.install)
  stlink/repos/community-testing-x86_64/
  stlink/repos/community-testing-x86_64/PKGBUILD
(from rev 214090, stlink/trunk/PKGBUILD)
  stlink/repos/community-testing-x86_64/stlink.install
(from rev 214090, 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 214090, 
stlink/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2017-02-27 18:35:36 UTC (rev 214091)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+
+pkgname=stlink
+pkgver=1.3.1
+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=('9cdfbb24ca7665f3b7cdb39750ea51d0bd2ef5bdbc9d641011c4bd3b77980b70')
+
+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 214090, 
stlink/trunk/stlink.install)
===
--- community-testing-i686/stlink.install   (rev 0)
+++ community-testing-i686/stlink.install   2017-02-27 18:35:36 UTC (rev 
214091)
@@ -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 214090, 
stlink/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2017-02-27 18:35:36 UTC (rev 214091)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+
+pkgname=stlink
+pkgver=1.3.1
+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=('9cdfbb24ca7665f3b7cdb39750ea51d0bd2ef5bdbc9d641011c4bd3b77980b70')
+
+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 214090, 
stlink/trunk/stlink.install)
===
--- community-testing-x86_64/stlink.install (rev 0)
+++ community-testing-x86_64/stlink.install 2017-02-27 18:35:36 UTC (rev 
214091)
@@ -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

[arch-commits] Commit in stlink/repos (6 files)

2017-01-30 Thread Anatol Pomozov
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 
+
+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 
+
+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(

[arch-commits] Commit in stlink/repos (6 files)

2016-08-02 Thread Anatol Pomozov
Date: Tuesday, August 2, 2016 @ 12:29:23
  Author: anatolik
Revision: 184833

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 184832, stlink/trunk/PKGBUILD)
  stlink/repos/community-testing-i686/stlink.install
(from rev 184832, stlink/trunk/stlink.install)
  stlink/repos/community-testing-x86_64/
  stlink/repos/community-testing-x86_64/PKGBUILD
(from rev 184832, stlink/trunk/PKGBUILD)
  stlink/repos/community-testing-x86_64/stlink.install
(from rev 184832, stlink/trunk/stlink.install)

-+
 community-testing-i686/PKGBUILD |   34 ++
 community-testing-i686/stlink.install   |   22 +++
 community-testing-x86_64/PKGBUILD   |   34 ++
 community-testing-x86_64/stlink.install |   22 +++
 4 files changed, 112 insertions(+)

Copied: stlink/repos/community-testing-i686/PKGBUILD (from rev 184832, 
stlink/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-08-02 12:29:23 UTC (rev 184833)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+
+pkgname=stlink
+pkgver=1.2.0
+pkgrel=2
+pkgdesc='Firmware programmer for STM32 STLINK v1/v2 protocol'
+arch=(i686 x86_64)
+url='https://github.com/texane/stlink'
+license=(BSD)
+depends=(libusb)
+install=stlink.install
+source=($pkgname-$pkgver.zip::https://github.com/texane/stlink/archive/$pkgver.zip)
+sha256sums=('9cb76f19e5a27b94ee0a45ac883fa0afdcbae57361b43189dd1f2f5a36695485')
+
+build() {
+  cd stlink-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd stlink-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 stlink_v1.modprobe.conf  
"$pkgdir"/usr/lib/modprobe.d/stlink_v1.modprobe.conf
+  install -Dm644 49-stlinkv1.rules
"$pkgdir"/usr/lib/udev/rules.d/49-stlinkv1.rules
+  install -Dm644 49-stlinkv2.rules
"$pkgdir"/usr/lib/udev/rules.d/49-stlinkv2.rules
+  install -Dm644 49-stlinkv2-1.rules  
"$pkgdir"/usr/lib/udev/rules.d/49-stlinkv2-1.rules
+  install -Dm644 LICENSE  
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 README   
"$pkgdir"/usr/share/doc/$pkgname/README
+}

Copied: stlink/repos/community-testing-i686/stlink.install (from rev 184832, 
stlink/trunk/stlink.install)
===
--- community-testing-i686/stlink.install   (rev 0)
+++ community-testing-i686/stlink.install   2016-08-02 12:29:23 UTC (rev 
184833)
@@ -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 184832, 
stlink/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-08-02 12:29:23 UTC (rev 184833)
@@ -0,0 +1,34 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+
+pkgname=stlink
+pkgver=1.2.0
+pkgrel=2
+pkgdesc='Firmware programmer for STM32 STLINK v1/v2 protocol'
+arch=(i686 x86_64)
+url='https://github.com/texane/stlink'
+license=(BSD)
+depends=(libusb)
+install=stlink.install
+source=($pkgname-$pkgver.zip::https://github.com/texane/stlink/archive/$pkgver.zip)
+sha256sums=('9cb76f19e5a27b94ee0a45ac883fa0afdcbae57361b43189dd1f2f5a36695485')
+
+build() {
+  cd stlink-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd stlink-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 stlink_v1.modprobe.conf  
"$pkgdir"/usr/lib/modprobe.d/stlink_v1.modprobe.conf
+  install -Dm644 49-stlinkv1.rules
"$pkgdir"/usr/lib/udev/rules.d/49-stlinkv1.rules
+  install -Dm644 49-stlinkv2.rules
"$pkgdir"/usr/lib/udev/rules.d/49-stlinkv2.rules
+  install -Dm644 49-stlinkv2-1.rules  
"$pkgdir"/usr/lib/udev/rules.d/49-stlinkv2-1.rules
+  install -Dm644 LICENSE  
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 README   
"$pkgdir"/usr/share/doc/$pkgname/README
+}

Copied: stlink/repos/community-testing-x86_64/stlink.install (from rev 184832, 
stlink/trunk/stlink.install)
===
--- community-testing-x86_64/stlink.install (

[arch-commits] Commit in stlink/repos (6 files)

2016-05-05 Thread Anatol Pomozov
Date: Thursday, May 5, 2016 @ 18:37:41
  Author: anatolik
Revision: 173843

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 173842, stlink/trunk/PKGBUILD)
  stlink/repos/community-testing-i686/stlink.install
(from rev 173842, stlink/trunk/stlink.install)
  stlink/repos/community-testing-x86_64/
  stlink/repos/community-testing-x86_64/PKGBUILD
(from rev 173842, stlink/trunk/PKGBUILD)
  stlink/repos/community-testing-x86_64/stlink.install
(from rev 173842, 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 173842, 
stlink/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-05-05 16:37:41 UTC (rev 173843)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+
+pkgname=stlink
+pkgrel=1
+pkgver=1.2.0
+pkgdesc='Firmware programmer for STM32 STLINK v1/v2 protocol'
+arch=(i686 x86_64)
+url='https://github.com/texane/stlink'
+license=(BSD)
+depends=(libusb)
+install=stlink.install
+source=($pkgname-$pkgver.zip::https://github.com/texane/stlink/archive/$pkgver.zip)
+sha256sums=('9cb76f19e5a27b94ee0a45ac883fa0afdcbae57361b43189dd1f2f5a36695485')
+
+build() {
+  cd stlink-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd stlink-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 stlink_v1.modprobe.conf  
"$pkgdir"/usr/lib/modprobe.d/stlink_v1.modprobe.conf
+  install -Dm644 49-stlinkv1.rules
"$pkgdir"/usr/lib/udev/rules.d/49-stlinkv1.rules
+  install -Dm644 49-stlinkv2.rules
"$pkgdir"/usr/lib/udev/rules.d/49-stlinkv2.rules
+  install -Dm644 LICENSE  
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 README   
"$pkgdir"/usr/share/doc/$pkgname/README
+}

Copied: stlink/repos/community-testing-i686/stlink.install (from rev 173842, 
stlink/trunk/stlink.install)
===
--- community-testing-i686/stlink.install   (rev 0)
+++ community-testing-i686/stlink.install   2016-05-05 16:37:41 UTC (rev 
173843)
@@ -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 173842, 
stlink/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2016-05-05 16:37:41 UTC (rev 173843)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+
+pkgname=stlink
+pkgrel=1
+pkgver=1.2.0
+pkgdesc='Firmware programmer for STM32 STLINK v1/v2 protocol'
+arch=(i686 x86_64)
+url='https://github.com/texane/stlink'
+license=(BSD)
+depends=(libusb)
+install=stlink.install
+source=($pkgname-$pkgver.zip::https://github.com/texane/stlink/archive/$pkgver.zip)
+sha256sums=('9cb76f19e5a27b94ee0a45ac883fa0afdcbae57361b43189dd1f2f5a36695485')
+
+build() {
+  cd stlink-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd stlink-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 stlink_v1.modprobe.conf  
"$pkgdir"/usr/lib/modprobe.d/stlink_v1.modprobe.conf
+  install -Dm644 49-stlinkv1.rules
"$pkgdir"/usr/lib/udev/rules.d/49-stlinkv1.rules
+  install -Dm644 49-stlinkv2.rules
"$pkgdir"/usr/lib/udev/rules.d/49-stlinkv2.rules
+  install -Dm644 LICENSE  
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 README   
"$pkgdir"/usr/share/doc/$pkgname/README
+}

Copied: stlink/repos/community-testing-x86_64/stlink.install (from rev 173842, 
stlink/trunk/stlink.install)
===
--- community-testing-x86_64/stlink.install (rev 0)
+++ community-testing-x86_64/stlink.install 2016-05-05 16:37:41 UTC (rev 
173843)
@@ -0,0 +1,22 @@
+msg() {
+  udevadm control --reload-rules
+  echo "You may have to reload the u

[arch-commits] Commit in stlink/repos (6 files)

2015-01-05 Thread Anatol Pomozov
Date: Monday, January 5, 2015 @ 18:04:57
  Author: anatolik
Revision: 125426

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 125425, stlink/trunk/PKGBUILD)
  stlink/repos/community-testing-i686/stlink.install
(from rev 125425, stlink/trunk/stlink.install)
  stlink/repos/community-testing-x86_64/
  stlink/repos/community-testing-x86_64/PKGBUILD
(from rev 125425, stlink/trunk/PKGBUILD)
  stlink/repos/community-testing-x86_64/stlink.install
(from rev 125425, stlink/trunk/stlink.install)

-+
 community-testing-i686/PKGBUILD |   33 ++
 community-testing-i686/stlink.install   |   23 
 community-testing-x86_64/PKGBUILD   |   33 ++
 community-testing-x86_64/stlink.install |   23 
 4 files changed, 112 insertions(+)

Copied: stlink/repos/community-testing-i686/PKGBUILD (from rev 125425, 
stlink/trunk/PKGBUILD)
===
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2015-01-05 17:04:57 UTC (rev 125426)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+
+pkgname=stlink
+pkgrel=2
+pkgver=1.0.0
+pkgdesc='Firmware programmer for STM32 STLINK v1/v2 protocol'
+arch=(i686 x86_64)
+url='https://github.com/texane/stlink'
+license=(BSD)
+depends=(libusb)
+install=stlink.install
+source=(https://github.com/texane/stlink/archive/$pkgver.zip)
+sha256sums=('09e676948adda9fd354d0a07584ad5884bc7f8e36ddb6b2f39b2211056b7263a')
+
+build() {
+  cd stlink-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd stlink-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 stlink_v1.modprobe.conf  
"$pkgdir"/usr/lib/modprobe.d/stlink_v1.modprobe.conf
+  install -Dm644 49-stlinkv1.rules
"$pkgdir"/usr/lib/udev/rules.d/49-stlinkv1.rules
+  install -Dm644 49-stlinkv2.rules
"$pkgdir"/usr/lib/udev/rules.d/49-stlinkv2.rules
+  install -Dm644 LICENSE  
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 README   
"$pkgdir"/usr/share/doc/$pkgname/README
+}

Copied: stlink/repos/community-testing-i686/stlink.install (from rev 125425, 
stlink/trunk/stlink.install)
===
--- community-testing-i686/stlink.install   (rev 0)
+++ community-testing-i686/stlink.install   2015-01-05 17:04:57 UTC (rev 
125426)
@@ -0,0 +1,23 @@
+msg() {
+# modprobe -r usb-storage && modprobe usb-storage
+  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 125425, 
stlink/trunk/PKGBUILD)
===
--- community-testing-x86_64/PKGBUILD   (rev 0)
+++ community-testing-x86_64/PKGBUILD   2015-01-05 17:04:57 UTC (rev 125426)
@@ -0,0 +1,33 @@
+# $Id$
+# Maintainer: Anatol Pomozov 
+
+pkgname=stlink
+pkgrel=2
+pkgver=1.0.0
+pkgdesc='Firmware programmer for STM32 STLINK v1/v2 protocol'
+arch=(i686 x86_64)
+url='https://github.com/texane/stlink'
+license=(BSD)
+depends=(libusb)
+install=stlink.install
+source=(https://github.com/texane/stlink/archive/$pkgver.zip)
+sha256sums=('09e676948adda9fd354d0a07584ad5884bc7f8e36ddb6b2f39b2211056b7263a')
+
+build() {
+  cd stlink-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd stlink-$pkgver
+
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 stlink_v1.modprobe.conf  
"$pkgdir"/usr/lib/modprobe.d/stlink_v1.modprobe.conf
+  install -Dm644 49-stlinkv1.rules
"$pkgdir"/usr/lib/udev/rules.d/49-stlinkv1.rules
+  install -Dm644 49-stlinkv2.rules
"$pkgdir"/usr/lib/udev/rules.d/49-stlinkv2.rules
+  install -Dm644 LICENSE  
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 README   
"$pkgdir"/usr/share/doc/$pkgname/README
+}

Copied: stlink/repos/community-testing-x86_64/stlink.install (from rev 125425, 
stlink/trunk/stlink.install)
===
--- community-testing-x86_64/stlink.install (rev 0)
+++ community-testing-x86_64/stlink.install 2015-01-05 17:04:57 UTC (rev 
125426)
@@ -0,0 +1,23 @@
+msg() {
+# modprobe -r usb-storage && modprobe usb-storage
+  udevadm 

[arch-commits] Commit in stlink/repos (6 files)

2014-02-20 Thread Anatol Pomozov
Date: Friday, February 21, 2014 @ 07:26:33
  Author: anatolik
Revision: 106009

archrelease: copy trunk to community-i686, community-x86_64

Added:
  stlink/repos/community-i686/
  stlink/repos/community-i686/PKGBUILD
(from rev 106008, stlink/trunk/PKGBUILD)
  stlink/repos/community-i686/stlink.install
(from rev 106008, stlink/trunk/stlink.install)
  stlink/repos/community-x86_64/
  stlink/repos/community-x86_64/PKGBUILD
(from rev 106008, stlink/trunk/PKGBUILD)
  stlink/repos/community-x86_64/stlink.install
(from rev 106008, stlink/trunk/stlink.install)

-+
 community-i686/PKGBUILD |   34 ++
 community-i686/stlink.install   |   23 +++
 community-x86_64/PKGBUILD   |   34 ++
 community-x86_64/stlink.install |   23 +++
 4 files changed, 114 insertions(+)

Copied: stlink/repos/community-i686/PKGBUILD (from rev 106008, 
stlink/trunk/PKGBUILD)
===
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-02-21 06:26:33 UTC (rev 106009)
@@ -0,0 +1,34 @@
+# Maintainer: Anatol Pomozov 
+
+pkgname=stlink
+pkgrel=1
+pkgver=1.0.0
+pkgdesc='Firtmware programmer for STM32 STLINK v1/v2 protocol'
+arch=(i686 x86_64)
+url='https://github.com/texane/stlink'
+license=(BSD)
+depends=(libusb)
+install=stlink.install
+source=(https://github.com/texane/stlink/archive/$pkgver.zip)
+sha256sums=('09e676948adda9fd354d0a07584ad5884bc7f8e36ddb6b2f39b2211056b7263a')
+
+build() {
+  cd stlink-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd stlink-$pkgver
+
+  # install binaries
+  make DESTDIR="$pkgdir" install
+
+  # install additional files
+  install -Dm644 stlink_v1.modprobe.conf  
"$pkgdir"/etc/modprobe.d/stlink_v1.modprobe.conf
+  install -Dm644 49-stlinkv1.rules
"$pkgdir"/etc/udev/rules.d/49-stlinkv1.rules
+  install -Dm644 49-stlinkv2.rules
"$pkgdir"/etc/udev/rules.d/49-stlinkv2.rules
+  install -Dm644 LICENSE  
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 README   
"$pkgdir"/usr/share/doc/$pkgname/README
+}

Copied: stlink/repos/community-i686/stlink.install (from rev 106008, 
stlink/trunk/stlink.install)
===
--- community-i686/stlink.install   (rev 0)
+++ community-i686/stlink.install   2014-02-21 06:26:33 UTC (rev 106009)
@@ -0,0 +1,23 @@
+msg() {
+# modprobe -r usb-storage && modprobe usb-storage
+  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-x86_64/PKGBUILD (from rev 106008, 
stlink/trunk/PKGBUILD)
===
--- community-x86_64/PKGBUILD   (rev 0)
+++ community-x86_64/PKGBUILD   2014-02-21 06:26:33 UTC (rev 106009)
@@ -0,0 +1,34 @@
+# Maintainer: Anatol Pomozov 
+
+pkgname=stlink
+pkgrel=1
+pkgver=1.0.0
+pkgdesc='Firtmware programmer for STM32 STLINK v1/v2 protocol'
+arch=(i686 x86_64)
+url='https://github.com/texane/stlink'
+license=(BSD)
+depends=(libusb)
+install=stlink.install
+source=(https://github.com/texane/stlink/archive/$pkgver.zip)
+sha256sums=('09e676948adda9fd354d0a07584ad5884bc7f8e36ddb6b2f39b2211056b7263a')
+
+build() {
+  cd stlink-$pkgver
+  ./autogen.sh
+  ./configure --prefix=/usr
+  make
+}
+
+package() {
+  cd stlink-$pkgver
+
+  # install binaries
+  make DESTDIR="$pkgdir" install
+
+  # install additional files
+  install -Dm644 stlink_v1.modprobe.conf  
"$pkgdir"/etc/modprobe.d/stlink_v1.modprobe.conf
+  install -Dm644 49-stlinkv1.rules
"$pkgdir"/etc/udev/rules.d/49-stlinkv1.rules
+  install -Dm644 49-stlinkv2.rules
"$pkgdir"/etc/udev/rules.d/49-stlinkv2.rules
+  install -Dm644 LICENSE  
"$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -Dm644 README   
"$pkgdir"/usr/share/doc/$pkgname/README
+}

Copied: stlink/repos/community-x86_64/stlink.install (from rev 106008, 
stlink/trunk/stlink.install)
===
--- community-x86_64/stlink.install (rev 0)
+++ community-x86_64/stlink.install 2014-02-21 06:26:33 UTC (rev 106009)
@@ -0,0 +1,23 @@
+msg() {
+# modprobe -r usb-storage && modprobe usb-storage
+  udevadm control --reload-rules
+  echo "You may have to reload the usb-storage module."
+  echo "To do this use"
+  echo "mo