brotli 1.1.0-1
This commit is contained in:
commit
422ce78602
34
PKGBUILD
Normal file
34
PKGBUILD
Normal file
@ -0,0 +1,34 @@
|
||||
# This is an example PKGBUILD file. Use this as a start to creating your own,
|
||||
# and remove these comments. For more information, see 'man PKGBUILD'.
|
||||
# NOTE: Please fill out the license field for your package! If it is unknown,
|
||||
# then please put 'unknown'.
|
||||
|
||||
# Maintainer: Future Linux Team <future_linux@163.com>
|
||||
pkgname=brotli
|
||||
pkgver=1.1.0
|
||||
pkgrel=1
|
||||
pkgdesc="Generic-purpose lossless compression algorithm"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/google/brotli"
|
||||
license=('MIT')
|
||||
depends=('glibc' 'python')
|
||||
makedepends=('cmake')
|
||||
source=(https://github.com/google/brotli/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
|
||||
sha256sums=(e720a6ca29428b803f4ad165371771f5398faba397edf6778837a18599ea13ff)
|
||||
|
||||
build() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
||||
-DCMAKE_BUILD_TYPE=Release \
|
||||
-DCMAKE_INSTALL_LIBDIR=lib64 \
|
||||
-Bbuild
|
||||
|
||||
cmake --build build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd ${pkgname}-${pkgver}
|
||||
|
||||
DESTDIR=${pkgdir} cmake --install build
|
||||
}
|
Loading…
Reference in New Issue
Block a user