initial import
This commit is contained in:
36
tkimg/PKGBUILD
Normal file
36
tkimg/PKGBUILD
Normal file
@@ -0,0 +1,36 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
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=('i686' 'x86_64')
|
||||
license=('custom:BSD')
|
||||
depends=('zlib' 'libjpeg-turbo' 'libpng' 'libtiff' 'tcl' 'tk' 'tcllib')
|
||||
source=("https://downloads.sourceforge.net/${pkgname}/${_pkgname}-${pkgver}-Source.tar.gz")
|
||||
sha512sums=('41bfc6909a6836cbdce34f5e5672a02ac67e6d7263a97d48b564994462cc089905a0824444bd849b6d228750bf09f0cf617989dc9008705938a283fa4e5f1b45')
|
||||
|
||||
build() {
|
||||
cd "${_pkgname}-${pkgver}-Source"
|
||||
|
||||
if [[ $CARCH = "i686" ]]; then
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-threads
|
||||
else
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--enable-threads \
|
||||
--enable-64bit
|
||||
fi
|
||||
make all
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "${_pkgname}-${pkgver}-Source"
|
||||
|
||||
make INSTALL_ROOT="${pkgdir}" install
|
||||
install -Dm644 license.terms -t "${pkgdir}/usr/share/licenses/${pkgname}"
|
||||
}
|
||||
Reference in New Issue
Block a user