[arch-commits] Commit in cm256cc/trunk (PKGBUILD)

Filipe Laíns ffy00 at archlinux.org
Wed Aug 22 23:05:34 UTC 2018


    Date: Wednesday, August 22, 2018 @ 23:05:34
  Author: ffy00
Revision: 373320

fix boost dependency

Modified:
  cm256cc/trunk/PKGBUILD

----------+
 PKGBUILD |   13 ++++++-------
 1 file changed, 6 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-22 22:19:46 UTC (rev 373319)
+++ PKGBUILD	2018-08-22 23:05:34 UTC (rev 373320)
@@ -3,19 +3,18 @@
 
 pkgname=cm256cc
 pkgver=1.0.0
-pkgrel=2
+pkgrel=3
 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')
+makedepends=('cmake' 'boost')
 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
+  mkdir -p $pkgname-$pkgver/build
+  cd $pkgname-$pkgver/build
 
   cmake .. \
     -DCMAKE_BUILD_TYPE=Release \
@@ -26,11 +25,11 @@
 }
 
 check() {
-  "$srcdir"/$pkgname-$pkgver/build/cm256_test
+  $pkgname-$pkgver/build/cm256_test
 }
 
 package() {
-  cd "$srcdir"/$pkgname-$pkgver/build
+  cd $pkgname-$pkgver/build
 
   make DESTDIR="$pkgdir" install
 }



More information about the arch-commits mailing list