Date: Saturday, April 23, 2022 @ 18:00:01 Author: eworm Revision: 443821
archrelease: copy trunk to testing-x86_64 Added: imlib2/repos/testing-x86_64/ imlib2/repos/testing-x86_64/PKGBUILD (from rev 443820, imlib2/trunk/PKGBUILD) ----------+ PKGBUILD | 43 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) Copied: imlib2/repos/testing-x86_64/PKGBUILD (from rev 443820, imlib2/trunk/PKGBUILD) =================================================================== --- testing-x86_64/PKGBUILD (rev 0) +++ testing-x86_64/PKGBUILD 2022-04-23 18:00:01 UTC (rev 443821) @@ -0,0 +1,43 @@ +# Maintainer: Ronald van Haren <ronald.archlinux.org> +# Contributor: Arjan Timmerman <arjan.archlinux.org> +# Contributor: Tom Newsom <Jeepster.gmx.co.uk> + +pkgname=imlib2 +pkgver=1.9.0 +pkgrel=1 +pkgdesc='Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support' +url='https://sourceforge.net/projects/enlightenment/' +arch=('x86_64') +license=('BSD') +options=('debug') +# this could support jxl via libjxl, but dependencies are broken +depends=('bzip2' 'freetype2' 'giflib' 'libheif' 'libid3tag' 'libjpeg-turbo' + 'libpng' 'librsvg' 'libspectre' 'libtiff' 'libwebp' 'libxext' 'openjpeg2' 'xz') +source=("https://downloads.sourceforge.net/project/enlightenment/imlib2-src/${pkgver}/${pkgname}-${pkgver}.tar.xz") +sha512sums=('958fdabc938ec03ab48001ca4df72c8352cb261b12b09334d38348b22b8859cff16a1cda0d4447b73261723f223f62a799f80eb85a710ac5a44a3fa4f90734fd') + +build() { + cd "${pkgname}-${pkgver}" + + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc/imlib2 \ + --x-libraries=/usr/lib \ + --enable-amd64 + make +} + + +check() { + cd "${pkgname}-${pkgver}" + make check +} + + +package() { + cd "${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + # Install License + install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING" +}