diff options
author | Andrew Sun | 2018-02-14 19:22:25 -0500 |
---|---|---|
committer | Andrew Sun | 2018-02-14 19:22:25 -0500 |
commit | 1d8db70989a8d90800a86cade28c15d2e6766452 (patch) | |
tree | 4d4c19171dbc30067dc35bdf2d820547626612f4 | |
download | aur-1d8db70989a8d90800a86cade28c15d2e6766452.tar.gz |
add ctl package (version 1.5.2)
-rw-r--r-- | .SRCINFO | 18 | ||||
-rw-r--r-- | PKGBUILD | 34 |
2 files changed, 52 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..a739f5956080 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,18 @@ +pkgbase = ctl + pkgdesc = The Color Transformation Language + pkgver = 1.5.2 + pkgrel = 1 + url = https://github.com/ampas/CTL + arch = x86_64 + license = custom + makedepends = cmake + depends = gcc-libs + depends = ilmbase + depends = openexr + depends = libtiff + depends = aces-container + source = https://github.com/ampas/CTL/archive/ctl-1.5.2.tar.gz + sha256sums = d7fac1439332c4d84abc3c285b365630acf20ea041033b154aa302befd25e0bd + +pkgname = ctl + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..361eb92c451f --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# Maintainer: Andrew Sun <adsun701@gmail.com> +pkgname=ctl +pkgver=1.5.2 +pkgrel=1 +pkgdesc="The Color Transformation Language" +arch=('x86_64') +url="https://github.com/ampas/CTL" +license=('custom') +depends=('gcc-libs' 'ilmbase' 'openexr' 'libtiff' 'aces-container') +makedepends=('cmake') +source=("https://github.com/ampas/CTL/archive/${pkgname}-${pkgver}.tar.gz") +sha256sums=('d7fac1439332c4d84abc3c285b365630acf20ea041033b154aa302befd25e0bd') + +prepare() { + cd "${srcdir}/CTL-${pkgname}-${pkgver}" + mkdir "${srcdir}/build" +} + +build() { + cd "${srcdir}/build" + cmake "../CTL-${pkgname}-${pkgver}" \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release + make +} + +package() { + cd "${srcdir}/build" + make DESTDIR="${pkgdir}" install + + # License file + install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" + install -m644 "${srcdir}/CTL-${pkgname}-${pkgver}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}" +} |