blob: bd9b6630c53a24ee3c5cf07a8e5651e40f285c33 (
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
41
42
43
44
45
46
47
48
49
50
|
# Maintainer: dylif <aur_kl40w9du AT dylif DOT org>
# Contributor: Chocobo1 <chocobo1 AT archlinux DOT net>
pkgname=libtiff-maya-git
pkgver=4.3.0.r209.gb92d4ad0
pkgrel=1
pkgdesc="TIFF library and utilities (built with --enable-ld-version-script flag for maya support)"
arch=('i686' 'x86_64')
url="https://libtiff.gitlab.io/libtiff/"
license=('custom')
depends=('glibc' 'libjpeg' 'xz' 'zlib')
makedepends=('git' 'freeglut' 'glu' 'jbigkit' 'mesa')
optdepends=('freeglut: for using tiffgt')
provides=('libtiff' 'libtiff.so' 'libtiffxx.so')
conflicts=('libtiff')
replaces=('libtiff')
options=('staticlibs')
source=("git+https://gitlab.com/libtiff/libtiff.git")
sha256sums=('SKIP')
pkgver() {
cd "libtiff"
git describe --long --tags | sed 's/^Release-v//;s/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cd "libtiff"
autoreconf -fi
./configure \
--prefix="/usr" \
--with-docdir="/usr/share/doc/libtiff" \
--enable-ld-version-script
make
}
check() {
cd "libtiff"
make check
}
package() {
cd "libtiff"
make DESTDIR="$pkgdir" install
install -Dm644 "COPYRIGHT" -t "$pkgdir/usr/share/licenses/libtiff"
}
|