jobcomm/tkimg/PKGBUILD

41 lines
1.2 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://gittea.disroot.org/joborun-pkg/jobcomm/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=tkimg
_pkgname=Img
pkgver=1.4.16
pkgrel=02
pkgdesc='Provides the handling of several image formats beyond the standard formats in Tk'
url='https://wiki.tcl-lang.org/page/Img'
depends=('zlib' 'libjpeg' 'libpng' 'libtiff' 'tcl' 'tk' 'tcllib')
source=("https://downloads.sourceforge.net/${pkgname}/${_pkgname}-${pkgver}-Source.tar.gz")
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"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=('custom')
sha256sums=(d99af4835fe3e20960817c7a1b5235dcfaa97c642593cce50bdb64c5827cd321) # Img-1.4.16-tar.gz
## 82d01c8bf24f14c5a379b07eedc9daa1a747614325594d71a349072b679f6f9c tkimg-1.4.16-02-x86_64.pkg.tar.lz