summaryrefslogtreecommitdiff
path: root/extra/ethumb/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/ethumb/PKGBUILD')
-rw-r--r--extra/ethumb/PKGBUILD44
1 files changed, 44 insertions, 0 deletions
diff --git a/extra/ethumb/PKGBUILD b/extra/ethumb/PKGBUILD
new file mode 100644
index 000000000..7c50cad33
--- /dev/null
+++ b/extra/ethumb/PKGBUILD
@@ -0,0 +1,44 @@
+# $Id: PKGBUILD 171662 2012-11-20 21:56:39Z ronald $
+# Maintainer: Ronald van Haren <ronald@archlinux.org>
+# Contributor: Gustavo Sverzut Barbieri <barbieri@gmail.com>
+
+pkgname=ethumb
+pkgver=1.7.1
+pkgrel=1
+pkgdesc="Thumbnailing library and D-Bus service using EFL"
+arch=('i686' 'x86_64')
+url="http://www.enlightenment.org"
+license=('BSD')
+depends=('libexif' 'e_dbus' 'emotion')
+options=('!libtool' '!emptydirs')
+source=(http://download.enlightenment.org/releases/$pkgname-$pkgver.tar.gz)
+sha1sums=('66309a00abee82a6e45f2841e7b40e301e2df3dd')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ export CFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections ${CFLAGS}"
+ export CXXFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections ${CXXFLAGS}"
+ export LDFLAGS="-fvisibility=hidden -ffunction-sections -fdata-sections -Wl,--gc-sections -Wl,--as-needed ${LDFLAGS}"
+
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib/ethumb \
+ --with-internal-maximum-log-level=3 \
+ --disable-static \
+ --enable-emotion \
+ --disable-epdf \
+ --enable-libexif \
+ --disable-install-examples \
+ --disable-doc
+ make
+}
+
+package(){
+ cd $srcdir/$pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+
+ # install license files
+ install -Dm644 $srcdir/$pkgname-$pkgver/COPYING \
+ $pkgdir/usr/share/licenses/$pkgname/COPYING
+}