Date: Wednesday, August 22, 2018 @ 23:05:41 Author: ffy00 Revision: 373321
archrelease: copy trunk to community-x86_64 Added: cm256cc/repos/community-x86_64/PKGBUILD (from rev 373320, cm256cc/trunk/PKGBUILD) Deleted: cm256cc/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 71 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 35 insertions(+), 36 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-08-22 23:05:34 UTC (rev 373320) +++ PKGBUILD 2018-08-22 23:05:41 UTC (rev 373321) @@ -1,36 +0,0 @@ -# $Id$ -# Maintainer: Filipe Laíns (FFY00) <filipe.la...@gmail.com> - -pkgname=cm256cc -pkgver=1.0.0 -pkgrel=2 -pkgdesc="Fast GF(256) Cauchy MDS Block Erasure Codec in C++" -arch=('x86_64') -url="https://github.com/f4exb/cm256cc" -depends=('boost') -license=('GPL') -makedepends=('cmake') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha512sums=('753191dee11a82f6281574a7529a96a28d20c318c143a1308a083d1f2cd5ec8bd5b9058dd6d8e3c1c895021fc2b4ef3356dd504b299aec3db6b8856e2f147890') - -build() { - mkdir -p "$srcdir"/$pkgname-$pkgver/build - cd "$srcdir"/$pkgname-$pkgver/build - - cmake .. \ - -DCMAKE_BUILD_TYPE=Release \ - -DCMAKE_INSTALL_LIBDIR=lib \ - -DCMAKE_INSTALL_PREFIX=/usr - - make -} - -check() { - "$srcdir"/$pkgname-$pkgver/build/cm256_test -} - -package() { - cd "$srcdir"/$pkgname-$pkgver/build - - make DESTDIR="$pkgdir" install -} Copied: cm256cc/repos/community-x86_64/PKGBUILD (from rev 373320, cm256cc/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-08-22 23:05:41 UTC (rev 373321) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Filipe Laíns (FFY00) <filipe.la...@gmail.com> + +pkgname=cm256cc +pkgver=1.0.0 +pkgrel=3 +pkgdesc="Fast GF(256) Cauchy MDS Block Erasure Codec in C++" +arch=('x86_64') +url="https://github.com/f4exb/cm256cc" +license=('GPL') +makedepends=('cmake' 'boost') +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") +sha512sums=('753191dee11a82f6281574a7529a96a28d20c318c143a1308a083d1f2cd5ec8bd5b9058dd6d8e3c1c895021fc2b4ef3356dd504b299aec3db6b8856e2f147890') + +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 +}