blob: d9e4b4f29b96b63a90b7bd222a3a392509d7c6e3 (
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
40
|
# Maintainer: Dennis Wölfing <denniswoelfing at gmx dot de>
pkgname=dxcompress-git
pkgver=1.0.r0.g65946d5
pkgrel=1
pkgdesc="Compression and decompression utility"
arch=('x86_64')
url="https://github.com/dennis95/dxcompress"
license=('ISC')
depends=('xz' 'zlib')
makedepends=('git')
# The gzip packages provides uncompress and zcat utilities conflicting with the
# dxcompress implementation. Luckily dxcompress can provide gzip
provides=('dxcompress' 'gzip' 'ncompress')
conflicts=('dxcompress' 'gzip' 'ncompress')
source=('git+https://github.com/dennis95/dxcompress')
sha256sums=('SKIP')
pkgver() {
cd dxcompress
git describe --long | sed 's/^dxcompress-//;s/-/.r/;s/-/./'
}
build() {
cd dxcompress
./autogen.sh
./configure --prefix=/usr --enable-wrappers=gzip
make
}
check() {
cd dxcompress
make check
}
package() {
cd dxcompress
make DESTDIR="$pkgdir" install
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|