# Maintainer: Andrew O'Neill # Contributor: Stefan Husmann # Contributor: Martin C. Doege # Contributor: kotyz pkgname=tkimg _pkgname=Img pkgver=1.4.9 pkgrel=1 pkgdesc='Provides the handling of several image formats beyond the standard formats in Tk' url='https://wiki.tcl-lang.org/page/Img' arch=('x86_64') license=('custom') depends=('zlib' 'libjpeg' 'libpng' 'libtiff' 'tcl' 'tk' 'tcllib') source=("https://downloads.sourceforge.net/${pkgname}/${_pkgname}-${pkgver}-Source.tar.gz") sha256sums=('89aa029d9352de02c483857bc85b27af52f1b77907ee276047e13e894d1e3629') build() { cd "${_pkgname}-${pkgver}" ./configure --prefix=/usr --enable-64bit --enable-threads make all } package() { cd "${_pkgname}-${pkgver}" make INSTALL_ROOT="${pkgdir}" install install -Dm644 license.terms "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }