updated on Wed Jan 11 12:00:27 UTC 2012
[aur-mirror.git] / reveal / PKGBUILD
blobeb31d7aa5f76a5fa179178fc327b888acddc051e
1 pkgname=reveal
2 pkgver=1.0
3 pkgrel=1
4 pkgdesc="An easy to use, cross platform EXIF metadata viewer with limited editing capabilities."
5 url="http://www.kde-apps.org/content/show.php?content=30685"
6 license="GPL"
7 depends=(libjpeg exiv2-svn qt)
8 makedepends=(libjpeg exiv2-svn qt)
9 conflicts=()
10 replaces=()
11 backup=()
12 install=
13 source=(http://dl.sourceforge.net/albumshaper/reveal_$pkgver.tar.bz2 Reveal.pro.patch)
14 md5sums=('2e30ffbec5e8e1b97dc7d00ee3263be3' 'c3b4a464781b1afa1403cafd8aa7db9a')
16 build() {
17   cd $startdir/src/reveal_${pkgver}_src
18   patch -Np0 < ../Reveal.pro.patch
19   qmake
20   make || return 1
21 # make DESTDIR=$startdir/pkg install
22   DESTDIR=$startdir/pkg
23   mkdir -p $DESTDIR/usr/{bin,share/reveal/images}
24   cp -f "bin/reveal.bin" "$DESTDIR/usr/bin/reveal.bin"
25   strip "$DESTDIR/usr/bin/reveal.bin"
26   cp -f -r "bin/images/exifIcons" "$DESTDIR/usr/share/reveal/images/"
27   cp -f "bin/images/revealImages/reveal.png" "$DESTDIR/usr/share/reveal/images/"
28   cp -f bin/reveal $DESTDIR/usr/bin/reveal;