# $Id: PKGBUILD 202254 2013-12-20 22:16:30Z eric $
# Maintainer: Eric Bélanger <eric@archlinux.org>

pkgname=gifsicle
pkgver=1.78
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=('df0cb87ee8237d7ba341e59cfef6cf44a7e4e630')

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

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