Date: Tuesday, June 22, 2021 @ 19:52:28 Author: ffy00 Revision: 966944
archrelease: copy trunk to community-x86_64 Added: openfpgaloader/repos/community-x86_64/PKGBUILD (from rev 966943, openfpgaloader/trunk/PKGBUILD) Deleted: openfpgaloader/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 84 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 42 insertions(+), 42 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2021-06-22 19:52:24 UTC (rev 966943) +++ PKGBUILD 2021-06-22 19:52:28 UTC (rev 966944) @@ -1,42 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> - -_pkgname=openFPGALoader -pkgname=openfpgaloader -pkgver=0.2.1 -pkgrel=1 -pkgdesc='Universal utility for programming FPGA' -arch=('x86_64') -url='https://github.com/trabucayre/openFPGALoader' -license=('AGPL') -depends=('libftdi' 'libusb-1.0.so' 'libudev.so') -makedepends=('cmake' 'libusb' 'systemd-libs') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha512sums=('523b35ad033b2e849823893261fb2ecd2c1b13fe9def310d0a386ee366775819bd4ec3405a8ba12f58c5b870fdaef43853747dd371dc7dcd0545a59046c729a1') - -prepare() { - sed -i 's|MODE="664", GROUP="plugdev"|MODE="666"|g' $_pkgname-$pkgver/99-openfpgaloader.rules -} - -build() { - mkdir -p $_pkgname-$pkgver/build - cd $_pkgname-$pkgver/build - - export CFLAGS+=" ${CPPFLAGS}" - export CXXFLAGS+=" ${CPPFLAGS}" - - cmake .. \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DCMAKE_BUILD_TYPE=None \ - -DENABLE_UDEV=True - - make -} - -package() { - cd $_pkgname-$pkgver/build - - make DESTDIR="$pkgdir" install - - install -Dm 644 ../99-openfpgaloader.rules "$pkgdir"/usr/lib/udev/rules.d/99-openfpgaloader.rules -} - Copied: openfpgaloader/repos/community-x86_64/PKGBUILD (from rev 966943, openfpgaloader/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2021-06-22 19:52:28 UTC (rev 966944) @@ -0,0 +1,42 @@ +# Maintainer: Filipe Laíns (FFY00) <la...@archlinux.org> + +_pkgname=openFPGALoader +pkgname=openfpgaloader +pkgver=0.3.0 +pkgrel=1 +pkgdesc='Universal utility for programming FPGA' +arch=('x86_64') +url='https://github.com/trabucayre/openFPGALoader' +license=('AGPL') +depends=('libftdi' 'libftdi-compat' 'libusb-1.0.so' 'libudev.so') +makedepends=('cmake' 'libusb' 'systemd-libs') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha512sums=('66a3fd771faab5b9f7efc0fa0bad7481b7e64268b0678c44d4bca48072678fab95d8764d96e19e704121d502798428d23c0d94d7f32bf7d3ad244b2db2d46b35') + +prepare() { + sed -i 's|MODE="664", GROUP="plugdev"|MODE="666"|g' $_pkgname-$pkgver/99-openfpgaloader.rules +} + +build() { + mkdir -p $_pkgname-$pkgver/build + cd $_pkgname-$pkgver/build + + export CFLAGS+=" ${CPPFLAGS}" + export CXXFLAGS+=" ${CPPFLAGS}" + + cmake .. \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=None \ + -DENABLE_UDEV=True + + make +} + +package() { + cd $_pkgname-$pkgver/build + + make DESTDIR="$pkgdir" install + + install -Dm 644 ../99-openfpgaloader.rules "$pkgdir"/usr/lib/udev/rules.d/99-openfpgaloader.rules +} +