Date: Sunday, May 16, 2021 @ 16:28:02 Author: ffy00 Revision: 935895 archrelease: copy trunk to community-x86_64
Added: stlink/repos/community-x86_64/PKGBUILD (from rev 935894, stlink/trunk/PKGBUILD) stlink/repos/community-x86_64/stlink.install (from rev 935894, stlink/trunk/stlink.install) Deleted: stlink/repos/community-x86_64/PKGBUILD stlink/repos/community-x86_64/stlink.install ----------------+ PKGBUILD | 66 +++++++++++++++++++++++++++---------------------------- stlink.install | 44 ++++++++++++++++++------------------ 2 files changed, 55 insertions(+), 55 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-05-16 16:27:56 UTC (rev 935894) +++ PKGBUILD 2021-05-16 16:28:02 UTC (rev 935895) @@ -1,33 +0,0 @@ -# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> - -pkgname=stlink -pkgver=1.6.1 -pkgrel=1 -pkgdesc='Firmware programmer for STM32 STLINK v1/v2 protocol' -arch=(x86_64) -url='https://github.com/texane/stlink' -license=(BSD) -# Add support for gtk3-based GUI -depends=(libusb) -makedepends=(cmake gtk3) -optdepends=('gtk3: GUI application') -install=stlink.install -source=($pkgname-$pkgver.zip::https://github.com/texane/stlink/archive/v$pkgver.zip) -sha256sums=('859af69fae8dc0751178c93a0558c55a99f4c57c17287ca32c8344021d56f170') - -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.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - rm "$pkgdir"/usr/lib/libstlink.a -} Copied: stlink/repos/community-x86_64/PKGBUILD (from rev 935894, stlink/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-05-16 16:28:02 UTC (rev 935895) @@ -0,0 +1,33 @@ +# Maintainer: Anatol Pomozov <anatol.pomo...@gmail.com> + +pkgname=stlink +pkgver=1.7.0 +pkgrel=1 +pkgdesc='Firmware programmer for STM32 STLINK v1/v2 protocol' +arch=(x86_64) +url='https://github.com/texane/stlink' +license=(BSD) +# Add support for gtk3-based GUI +depends=(libusb) +makedepends=(cmake gtk3) +optdepends=('gtk3: GUI application') +install=stlink.install +source=($pkgname-$pkgver.zip::https://github.com/texane/stlink/archive/v$pkgver.zip) +sha256sums=('dd2fde56c701b9084f6c60c5d2549673150b596f06cffe1334f498013a97f0e1') + +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.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + rm "$pkgdir"/usr/lib/libstlink.a +} Deleted: stlink.install =================================================================== --- stlink.install 2021-05-16 16:27:56 UTC (rev 935894) +++ stlink.install 2021-05-16 16:28:02 UTC (rev 935895) @@ -1,22 +0,0 @@ -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-x86_64/stlink.install (from rev 935894, stlink/trunk/stlink.install) =================================================================== --- stlink.install (rev 0) +++ stlink.install 2021-05-16 16:28:02 UTC (rev 935895) @@ -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 +}