pkgname: giflib pkgver: '6.1.3' pkgrel: '1' pkgdesc: For reading and writing GIFs as well as programs for converting and working with GIF files. url: 'https://downloads.sourceforge.net/giflib/' arch: x86_64 depends: [] makedepends: - xmlto - imagemagick source: - 'https://sourceforge.net/projects/giflib/files/giflib-${pkgver}.tar.gz' sha256sums: - b65b66b99f0424b93525f987386f22fc5efb9da2bfc92ad4a532249aaffbab0e build: | cd ${pkgname}-${pkgver} make make PREFIX=/usr DESTDIR=${PKGDIR} install rm -vf ${PKGDIR}/usr/lib/libgif.a find doc \( -name Makefile\* -o -name \*.1 \ -o -name \*.xml \) -exec rm -v {} \; install -v -dm755 ${PKGDIR}/usr/share/doc/${pkgname} cp -v -R doc/* \ ${PKGDIR}/usr/share/doc/${pkgname} package: | true