[arch-commits] Commit in imlib2/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Antonio Rojas arojas at archlinux.org
Mon Aug 3 18:51:29 UTC 2020


    Date: Monday, August 3, 2020 @ 18:51:29
  Author: arojas
Revision: 393096

archrelease: copy trunk to testing-x86_64

Added:
  imlib2/repos/testing-x86_64/
  imlib2/repos/testing-x86_64/PKGBUILD
    (from rev 393095, imlib2/trunk/PKGBUILD)

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Copied: imlib2/repos/testing-x86_64/PKGBUILD (from rev 393095, imlib2/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-08-03 18:51:29 UTC (rev 393096)
@@ -0,0 +1,48 @@
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Arjan Timmerman <arjan.archlinux.org>
+# Contributor: Tom Newsom <Jeepster.gmx.co.uk>
+
+pkgname=imlib2
+pkgver=1.7.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')
+depends=('libtiff' 'giflib' 'bzip2' 'freetype2' 'libxext' 'libpng' 'libid3tag' 'libjpeg-turbo' 'libwebp')
+source=(https://downloads.sourceforge.net/enlightenment/$pkgname-$pkgver.tar.bz2)
+sha512sums=('078126269565b55f4b167608ee65d558711e37c34283fb6193752b27f7fc59c738cbd38839b17203273defee20c2ffc41a495e44364089deebffbd39c67e6d72')
+
+
+prepare() {
+  cd "${pkgname}-${pkgver}"
+  sed -i 's/@my_libs@//' imlib2-config.in
+}
+
+
+build() {
+  cd "${pkgname}-${pkgver}"
+
+  [ $CARCH = "i686" ] && EXTRAOPTS="--enable-mmx"
+  [ $CARCH = "x86_64" ] && EXTRAOPTS="--enable-amd64"
+
+  ./configure --prefix=/usr \
+              --sysconfdir=/etc/imlib2 \
+              --x-libraries=/usr/lib $EXTRAOPTS
+  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"
+}


More information about the arch-commits mailing list