summaryrefslogtreecommitdiff
path: root/extra/ethumb
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-11-21 01:32:11 -0800
committerroot <root@rshg054.dnsready.net>2012-11-21 01:32:11 -0800
commitf48f6c82e23a3bacb8a0952c2d2cf9af1e6bf42d (patch)
treed578e4bdc10acc78968e3e5cdfce8dcd0289a60d /extra/ethumb
parent0a05643b928d724c048e4306955642d91f24d33c (diff)
Wed Nov 21 01:32:09 PST 2012
Diffstat (limited to 'extra/ethumb')
-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
+}