blob: a527f2eff5b3305e16801f0e5760a7504846f7db (
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
|
# Maintainer: Gustavo Alvarez <sl1pkn07@gmail.com>
pkgname=zimg-git
pkgver=2.3.0.g9cbe9b0
pkgrel=1
pkgdesc="Scaling, colorspace conversion, and dithering library. (GIT version)"
arch=('i686' 'x86_64')
url='http://forum.doom9.org/showthread.php?t=171334'
license=('custom:WTFPL')
depends=('gcc-libs'
'glibc'
)
makedepends=('git')
provides=('zimg'
'libzimg.so'
)
conflicts=('zimg'
'vapoursynth-plugin-zimg'
'vapoursynth-plugin-zimg-git'
)
source=('git+https://github.com/sekrit-twc/zimg.git')
sha1sums=('SKIP')
pkgver() {
cd zimg
echo "$(git describe --long --tags | tr - . | sed 's|release.||g')"
}
prepare() {
cd zimg
./autogen.sh
}
build() {
cd zimg
./configure \
--prefix=/usr
make
}
package(){
make -C zimg DESTDIR="${pkgdir}" install
install -Dm644 zimg/COPYING "${pkgdir}/usr/share/licenses/zimg-git/COPYING"
}
|