# $Id: PKGBUILD 213534 2014-05-24 02:19:06Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

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

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

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