[arch-commits] Commit in imlib2/repos (4 files)
Antonio Rojas
arojas at archlinux.org
Sat May 13 08:24:21 UTC 2017
Date: Saturday, May 13, 2017 @ 08:24:21
Author: arojas
Revision: 295877
archrelease: copy trunk to testing-i686, testing-x86_64
Added:
imlib2/repos/testing-i686/
imlib2/repos/testing-i686/PKGBUILD
(from rev 295876, imlib2/trunk/PKGBUILD)
imlib2/repos/testing-x86_64/
imlib2/repos/testing-x86_64/PKGBUILD
(from rev 295876, imlib2/trunk/PKGBUILD)
-------------------------+
testing-i686/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
testing-x86_64/PKGBUILD | 45 +++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 90 insertions(+)
Copied: imlib2/repos/testing-i686/PKGBUILD (from rev 295876, imlib2/trunk/PKGBUILD)
===================================================================
--- testing-i686/PKGBUILD (rev 0)
+++ testing-i686/PKGBUILD 2017-05-13 08:24:21 UTC (rev 295877)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Arjan Timmerman <arjan.archlinux.org>
+# Contributor: Tom Newsom <Jeepster.gmx.co.uk>
+
+pkgname=imlib2
+pkgver=1.4.10
+pkgrel=1
+pkgdesc="Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support"
+url="http://sourceforge.net/projects/enlightenment/"
+arch=('i686' 'x86_64')
+license=('BSD')
+depends=('libtiff' 'giflib' 'bzip2' 'freetype2' 'libxext' 'libpng' 'libid3tag' 'libjpeg-turbo')
+source=(http://downloads.sourceforge.net/enlightenment/$pkgname-$pkgver.tar.bz2)
+sha1sums=('664df65c6265a2825d685d2f3a4f0d072eb626ac')
+
+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"
+}
Copied: imlib2/repos/testing-x86_64/PKGBUILD (from rev 295876, imlib2/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-05-13 08:24:21 UTC (rev 295877)
@@ -0,0 +1,45 @@
+# $Id$
+# Maintainer: Ronald van Haren <ronald.archlinux.org>
+# Contributor: Arjan Timmerman <arjan.archlinux.org>
+# Contributor: Tom Newsom <Jeepster.gmx.co.uk>
+
+pkgname=imlib2
+pkgver=1.4.10
+pkgrel=1
+pkgdesc="Library that does image file loading and saving as well as rendering, manipulation, arbitrary polygon support"
+url="http://sourceforge.net/projects/enlightenment/"
+arch=('i686' 'x86_64')
+license=('BSD')
+depends=('libtiff' 'giflib' 'bzip2' 'freetype2' 'libxext' 'libpng' 'libid3tag' 'libjpeg-turbo')
+source=(http://downloads.sourceforge.net/enlightenment/$pkgname-$pkgver.tar.bz2)
+sha1sums=('664df65c6265a2825d685d2f3a4f0d072eb626ac')
+
+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