Date: Saturday, October 13, 2018 @ 20:39:24 Author: ffy00 Revision: 393337
archrelease: copy trunk to community-x86_64 Added: cm256cc/repos/community-x86_64/PKGBUILD (from rev 393336, cm256cc/trunk/PKGBUILD) Deleted: cm256cc/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 68 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 34 insertions(+), 34 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-10-13 20:39:16 UTC (rev 393336) +++ PKGBUILD 2018-10-13 20:39:24 UTC (rev 393337) @@ -1,34 +0,0 @@ -# Maintainer: Filipe Laíns (FFY00) <filipe.la...@gmail.com> - -pkgname=cm256cc -pkgver=1.0.1 -pkgrel=1 -pkgdesc='Fast GF(256) Cauchy MDS Block Erasure Codec in C++' -arch=('x86_64') -url='https://github.com/f4exb/cm256cc' -license=('GPL3') -makedepends=('cmake' 'boost') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha512sums=('2271ddb238fbe09457908ce59367bcc4643b538587d2657611c7eb5679669ed26e185a8e30d75ba9a926bf7a64e0bd1379973f73935d01fda43213f040e49eae') - -build() { - mkdir -p $pkgname-$pkgver/build - cd $pkgname-$pkgver/build - - cmake .. \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_INSTALL_PREFIX=/usr - - make -} - -check() { - $pkgname-$pkgver/build/cm256_test -} - -package() { - cd $pkgname-$pkgver/build - - make DESTDIR="$pkgdir" install -} Copied: cm256cc/repos/community-x86_64/PKGBUILD (from rev 393336, cm256cc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-10-13 20:39:24 UTC (rev 393337) @@ -0,0 +1,34 @@ +# Maintainer: Filipe Laíns (FFY00) <filipe.la...@gmail.com> + +pkgname=cm256cc +pkgver=1.0.2 +pkgrel=1 +pkgdesc='Fast GF(256) Cauchy MDS Block Erasure Codec in C++' +arch=('x86_64') +url='https://github.com/f4exb/cm256cc' +license=('GPL3') +makedepends=('cmake' 'boost') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha512sums=('bc57d0f62b97926be674c46845ae8f79eb243f49a892a9da38256586922597e7373d7dc8d8777aaa90471ca95813b419277133c092483c2f7ccf6432b92a54b1') + +build() { + mkdir -p $pkgname-$pkgver/build + cd $pkgname-$pkgver/build + + cmake .. \ + -DCMAKE_BUILD_TYPE=Release \ + -DCMAKE_INSTALL_LIBDIR=lib \ + -DCMAKE_INSTALL_PREFIX=/usr + + make +} + +check() { + $pkgname-$pkgver/build/cm256_test +} + +package() { + cd $pkgname-$pkgver/build + + make DESTDIR="$pkgdir" install +}