diff options
author | Philip Abernethy | 2016-11-03 18:23:03 +0100 |
---|---|---|
committer | Philip Abernethy | 2016-11-03 18:23:03 +0100 |
commit | 0a3c08ca1412906965253ab4c1cafd24bbf53a7b (patch) | |
tree | e73dfc05b85725c983f220d1948594c4ed35e05a | |
download | aur-0a3c08ca1412906965253ab4c1cafd24bbf53a7b.tar.gz |
Initial commit
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 31 | ||||
-rw-r--r-- | exrtools.patch | 10 |
3 files changed, 61 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cbc2e7e024d1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +# Generated by mksrcinfo v8 +# Thu Nov 3 16:54:58 UTC 2016 +pkgbase = exrtools + pkgdesc = A set of simple command-line utilities for manipulating high dynamic range images in OpenEXR format. + pkgver = 0.4 + pkgrel = 1 + url = http://scanline.ca/exrtools/ + arch = x86_64 + arch = i686 + license = custom + depends = openexr + depends = libpng + depends = libjpeg + source = http://scanline.ca/exrtools/exrtools-0.4.tar.gz + source = exrtools.patch + sha512sums = f4da32091275b25aa17c0bdffb0b7525575dc25703c5289e70f6a4954ccc14ad9036b927cd63af9adca8e36b8f2ead6e191d470ea33bf22c1cbe982afce7c92e + sha512sums = 0268d541eca001311f80228c3f6dde035830a52f14fcaaf38c145ea6ff23f6620ca910ffb08d0d532e5870d9cb7866dcfaffec5f4e29d1d8a616138a46e75489 + +pkgname = exrtools + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b0cc1f93cc91 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Philip Abernethy<chais.z3r0@gmail.com> +pkgname=exrtools +pkgver=0.4 +pkgrel=1 +pkgdesc="A set of simple command-line utilities for manipulating high dynamic range images in OpenEXR format." +url="http://scanline.ca/exrtools/" +arch=('x86_64' 'i686') +license=('custom') +depends=('openexr' 'libpng' 'libjpeg') + +source=("http://scanline.ca/exrtools/exrtools-0.4.tar.gz" + "${pkgname}.patch") +sha512sums=('f4da32091275b25aa17c0bdffb0b7525575dc25703c5289e70f6a4954ccc14ad9036b927cd63af9adca8e36b8f2ead6e191d470ea33bf22c1cbe982afce7c92e' + '0268d541eca001311f80228c3f6dde035830a52f14fcaaf38c145ea6ff23f6620ca910ffb08d0d532e5870d9cb7866dcfaffec5f4e29d1d8a616138a46e75489') + +prepare() { + cd "${srcdir}" + patch -p1 -i ${pkgname}.patch +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} diff --git a/exrtools.patch b/exrtools.patch new file mode 100644 index 000000000000..5cc4095ff2f6 --- /dev/null +++ b/exrtools.patch @@ -0,0 +1,10 @@ +--- src/exrtools-0.4/src/pngoutput.c 2016-11-03 17:11:12.032289339 +0100 ++++ src/exrtools-0.4/src/pngoutput_.c 2016-11-03 17:25:43.738339077 +0100 +@@ -27,6 +27,7 @@ + #include <errno.h> + #include <string.h> + #include <png.h> ++#include <zlib.h> + #include "pngoutput.h" + + struct pngoutput_s |