jobcore/lzip/PKGBUILD

42 lines
1.4 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcore/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=lzip
pkgver=1.24.1
pkgrel=01
pkgdesc="A lossless file compressor based on the LZMA algorithm - default for Joborun Linux packaging since 2/2/23"
arch=('x86_64')
url="https://www.nongnu.org/lzip/lzip.html"
groups=(base jobbot)
depends=('gcc-libs')
source=("https://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.gz"{,.sig})
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr CXXFLAGS="$CXXFLAGS" LDFLAGS="$LDFLAGS"
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir" install{,-man}
}
#---- license gpg-key sha256sums ----
license=('GPL3')
validpgpkeys=('1D41C14B272A2219A739FA4F8FE99503132D7742') # Antonio Diaz Diaz <antonio@gnu.org>
## upstream provided sha256sum:
## http://lists.nongnu.org/archive/html/lzip-bug/2018-02/msg00006.html
sha256sums=(30c9cb6a0605f479c496c376eb629a48b0a1696d167e3c1e090c5defa481b162 # lzip-1.24.1.tar.gz
14e88524a4bbae8f5f5e6ace5bf4c19e906fb3ff7156de1085f3c035a9de7844) # lzip-1.24.1.tar.gz.sig
## 2ca7a0e0aab11a68208a5f643a8e7eec85351036654b46b66c55fb30b8a772d5 lzip-1.24.1-01-x86_64.pkg.tar.lz