blob: d98b40f35430ae52caa92cbc16202b121a3ca885 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Eric Biggers <ebiggers3@gmail.com>
pkgname=libdeflate-git
pkgver=1.4.r0.g91e972e
pkgrel=1
pkgdesc="Heavily optimized library for DEFLATE/zlib/gzip compression and decompression"
arch=('i686' 'x86_64')
url="https://github.com/ebiggers/libdeflate"
license=('MIT')
depends=('glibc')
makedepends=('git')
options=('staticlibs')
source=('git+https://github.com/ebiggers/libdeflate.git')
sha256sums=('SKIP')
conflicts=('libdeflate')
provides=('libdeflate')
pkgver() {
cd libdeflate
git describe --long --tags | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd libdeflate
make
}
check() {
cd libdeflate
make check
}
package() {
cd libdeflate
make install PREFIX=/usr DESTDIR="$pkgdir"
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname" README* NEWS
install -Dm644 "COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
|