mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-03 23:57:13 +08:00
27 lines
683 B
Bash
27 lines
683 B
Bash
# Contributions from Arch: https://www.archlinux.org/packages/extra/x86_64/giflib/
|
|
|
|
pkgname=giflib
|
|
pkgver=5.1.1
|
|
pkgrel=2
|
|
pkgdesc="A library for reading and writing gif images"
|
|
url="http://sourceforge.net/projects/giflib/"
|
|
arch=('x86_64')
|
|
license=('MIT')
|
|
depends=('glibc')
|
|
makedepends=('xmlto' 'docbook-xml' 'docbook-xsl')
|
|
source=(http://downloads.sourceforge.net/sourceforge/giflib/${pkgname}-${pkgver}.tar.bz2)
|
|
md5sums=('1c39333192712788c6568c78a949f13e')
|
|
|
|
build() {
|
|
cd ${pkgname}-${pkgver}
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd ${pkgname}-${pkgver}
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -Dm644 COPYING "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
|
|
}
|