Date: Monday, May 25, 2020 @ 21:34:08 Author: bpiotrowski Revision: 387527
Symlink zstd to zstdmt; switch to release tarball Modified: zstd/trunk/PKGBUILD ----------+ PKGBUILD | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2020-05-25 18:36:33 UTC (rev 387526) +++ PKGBUILD 2020-05-25 21:34:08 UTC (rev 387527) @@ -11,13 +11,12 @@ license=(BSD GPL2) depends=(zlib xz lz4) makedepends=(gtest) -source=($pkgname-$pkgver.tar.gz::https://github.com/facebook/zstd/archive/v${pkgver}.tar.gz) +source=(https://github.com/facebook/zstd/releases/download/v${pkgver}/zstd-${pkgver}.tar.gz) sha256sums=('734d1f565c42f691f8420c8d06783ad818060fc390dee43ae0a89f86d0a4f8c2') build() { cd $pkgname-$pkgver make - make zstdmt make -C contrib/pzstd } @@ -30,7 +29,7 @@ package() { cd $pkgname-$pkgver make PREFIX=/usr DESTDIR="$pkgdir/" install - install -Dm755 zstdmt "$pkgdir/usr/bin/zstdmt" + ln -sf /usr/bin/zstd "$pkgdir/usr/bin/zstdmt" install -Dm755 contrib/pzstd/pzstd "$pkgdir/usr/bin/pzstd" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }
