# Maintainer: Eric Bélanger <eric@archlinux.org>

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

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

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