Username: Password: Remember me
# Corrects the colors of the image and generates a new image file on the disk
 
# Contributor: Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
# Contributor: Army
# Contributor: Eric Le Bras <eric.lebras@gmail.com>
# Maintainer : Marcos Heredia <chelqo@gmail.com>
 
pkgname=aaphoto
pkgver=0.45
pkgrel=1
pkgdesc="Automatic photo adjusting software"
arch=('i686' 'x86_64')
url="http://log69.com/aaphoto_en.html"
screenshot="http://konsole.kde.org/images/konsole_icon_48.png"
license=('GPL3')
depends=('jasper' 'libjpeg' 'libpng' 'zlib')
makedepends=('gcc' 'gcc-libs')
source=("http://log69.com/downloads/${pkgname}_sources_${pkgver}.tar.gz")
md5sums=('cfbc454e803991a248827ff635e436db')
 
build() {
  cd ${srcdir}/${pkgname}-${pkgver}
  #sed 's/Z_BEST_COMPRESSION/5/g' -i aaio.c
  #autoreconf
  ./configure --prefix=/usr
  make
}
 
package() {
  cd ${srcdir}/${pkgname}-${pkgver}
  make prefix=${pkgdir}/usr install
  _docdir=${pkgdir}/usr/share/doc/${pkgname}-${pkgver}
  _licdir=${pkgdir}/usr/share/licenses/${pkgname}
  install -dpm755 ${_docdir} ${_licdir}
  install -Dpm644 AUTHORS COPYRIGHT ChangeLog INSTALL NEWS README TODO ${_docdir}/
  install -Dpm644 COPYING LICENSE ${_licdir}/
}