mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 11:24:39 +08:00
28 lines
659 B
Bash
28 lines
659 B
Bash
# $Id$
|
|
# Maintainer: Antonio Rojas <arojas@archlinux.org>
|
|
# Contributor: Nicolas F. <aur@fratti.ch>
|
|
|
|
pkgname=zopfli
|
|
pkgver=1.0.1
|
|
pkgrel=1
|
|
arch=(i686 x86_64)
|
|
pkgdesc="A compression library programmed in C to perform very good, but slow, deflate or zlib compression"
|
|
url="https://github.com/google/zopfli"
|
|
license=(Apache)
|
|
depends=(gcc-libs)
|
|
source=("https://github.com/google/zopfli/archive/$pkgname-$pkgver.tar.gz")
|
|
md5sums=('fc41b0619cf5632460396e0c997352b9')
|
|
|
|
build() {
|
|
cd zopfli-$pkgname-$pkgver
|
|
make zopfli
|
|
make zopflipng
|
|
}
|
|
|
|
package() {
|
|
cd zopfli-$pkgname-$pkgver
|
|
|
|
mkdir -p "$pkgdir"/usr/bin
|
|
install -m755 zopfli zopflipng "$pkgdir"/usr/bin
|
|
}
|