jobcomm/tkimg/PKGBUILD-aur

31 lines
977 B
Plaintext

# Maintainer: Andrew O'Neill <andrew at meanjollies dot com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Martin C. Doege <mdoege at compuserve dot com>
# Contributor: kotyz <kotyz.king@gmail.com>
pkgname=tkimg
_pkgname=Img
pkgver=1.4.14
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=('7510b1b819464f228d228a862e53d9e1d3b41c23013b73790a29f7e9165abb21')
build() {
cd "${_pkgname}-${pkgver}-Source"
./configure --prefix=/usr --enable-64bit --enable-threads
make all
}
package() {
cd "${_pkgname}-${pkgver}-Source"
make INSTALL_ROOT="${pkgdir}" install
install -Dm644 license.terms "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}