diff options
author | Guillaume Horel | 2019-09-09 13:48:23 -0400 |
---|---|---|
committer | Guillaume Horel | 2019-09-09 13:48:23 -0400 |
commit | 58f592d8d5d03f882d38b3e32094699400297fe8 (patch) | |
tree | a1e40edf04df94410865607f2a51eff0fed8daf8 | |
parent | e5ca2453449e443e94f8ab9bd23a97a21f97c86c (diff) | |
download | aur-58f592d8d5d03f882d38b3e32094699400297fe8.tar.gz |
version bump
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 20 insertions, 12 deletions
@@ -1,18 +1,19 @@ pkgbase = zstd-static pkgdesc = Zstandard - Fast real-time compression algorithm - pkgver = 1.4.2 + pkgver = 1.4.3 pkgrel = 1 url = http://www.zstd.net/ arch = x86_64 license = BSD + makedepends = cmake depends = zlib depends = xz depends = lz4 provides = zstd conflicts = zstd options = staticlibs - source = https://github.com/facebook/zstd/archive/v1.4.2.tar.gz - sha256sums = 7a6e1dad34054b35e2e847eb3289be8820a5d378228802239852f913c6dcf6a7 + source = https://github.com/facebook/zstd/archive/v1.4.3.tar.gz + sha256sums = 5eda3502ecc285c3c92ee0cc8cd002234dee39d539b3f692997a0e80de1d33de pkgname = zstd-static @@ -4,31 +4,38 @@ pkgname=zstd-static _pkgname=${pkgname%-static} -pkgver=1.4.2 +pkgver=1.4.3 pkgrel=1 pkgdesc='Zstandard - Fast real-time compression algorithm' arch=('x86_64') url='http://www.zstd.net/' license=('BSD') depends=('zlib' 'xz' 'lz4') +makedepends=('cmake') options=('staticlibs') source=("https://github.com/facebook/zstd/archive/v${pkgver}.tar.gz") -sha256sums=('7a6e1dad34054b35e2e847eb3289be8820a5d378228802239852f913c6dcf6a7') +sha256sums=('5eda3502ecc285c3c92ee0cc8cd002234dee39d539b3f692997a0e80de1d33de') provides=('zstd') conflicts=('zstd') build() { - cd "$srcdir/$_pkgname-$pkgver" - make CFLAGS="$CFLAGS -fPIC" - make zstdmt - make -C contrib/pzstd + cd "$srcdir/$_pkgname-$pkgver/build" + mkdir builddir + cd builddir + cmake -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_INSTALL_LIBDIR=/usr/lib \ + ../cmake + make } package() { cd "$srcdir/$_pkgname-$pkgver" - make PREFIX="/usr" DESTDIR="$pkgdir/" install - install -D -m755 zstdmt "$pkgdir/usr/bin/zstdmt" - install -D -m755 contrib/pzstd/pzstd "$pkgdir/usr/bin/pzstd" + pushd "build/builddir" + pushd lib + make DESTDIR="$pkgdir/" install + popd; pushd programs + make DESTDIR="$pkgdir" install + popd; popd install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" } |