# $Id: PKGBUILD 149400 2012-02-07 14:30:32Z eric $
# Maintainer: Eric BĂ©langer <eric@archlinux.org>

pkgname=gifsicle
pkgver=1.64
pkgrel=1
pkgdesc="A powerful command-line program for creating, editing, manipulating and getting information about GIF images and animations"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.lcdf.org/gifsicle/"
license=('GPL')
depends=('libx11')
source=(http://www.lcdf.org/${pkgname}/${pkgname}-${pkgver}.tar.gz)
sha1sums=('14f1f69d41287eb06d69ae98b672a0f8c5cf28e5')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}