blob: 93e39d56db959f51c352e0521f10d4c28b9e875d (
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
|
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
pkgname=magickcache-git
pkgver=0.9.2.1.r68.gad6c528
pkgrel=1
pkgdesc='A digital media repository (git version)'
arch=('x86_64')
url='https://github.com/ImageMagick/MagickCache/'
license=('custom')
depends=('imagemagick')
makedepends=('git' 'opencl-headers')
provides=('magickcache')
conflicts=('magickcache')
source=('git+https://github.com/ImageMagick/MagickCache.git')
sha256sums=('SKIP')
prepare() {
autoreconf -fi MagickCache
}
pkgver() {
git -C MagickCache describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/^v//'
}
build() {
cd MagickCache
./configure --prefix='/usr'
make
}
package() {
make -C MagickCache DESTDIR="$pkgdir" install
install -D -m644 MagickCache/LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
}
|