blob: bcd417dc5a6d23c84df6097363a4385f15bd5a62 (
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
|
# Maintainer: Jesin <Jesin00@gmail.com>
pkgname=advancecomp-git
_name="${pkgname%-git}"
pkgver=2.1
pkgrel=1
arch=(x86_64)
pkgdesc='Recompression tools for gz, mng, png, and zip files using Zopfli and 7-Zip DEFLATE algorithms'
license=(GPL3)
depends=(gcc-libs zlib)
makedepends=(git)
provides=("$_name")
conflicts=("$_name")
url="https://github.com/amadvance/$_name"
source=("git+$url")
sha256sums=(SKIP)
pkgver() {
cd "$_name"
local v="$(git describe --tags)"
v="${v#v}"
printf %s "${v//-/+}"
}
build() {
cd "$_name"
autoheader
./autogen.sh
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
cd "$_name"
make "DESTDIR=$pkgdir" install
install -Dm644 "-t$pkgdir/usr/share/doc/$_name" AUTHORS HISTORY README
}
|