pkgname=libexif pkgver=0.6.24 pkgrel=1 pkgdesc="Library to parse an EXIF file and read the data from those tags" arch=('x86_64') url="https://github.com/libexif/libexif" license=('LGPL-2.1-or-later') depends=('glibc') source=(https://github.com/libexif/libexif/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.bz2) sha256sums=(d47564c433b733d83b6704c70477e0a4067811d184ec565258ac563d8223f6ae) build() { cd ${pkgname}-${pkgver} local configure_args=( --disable-static --with-doc-dir=/usr/share/doc/${pkgname}-${pkgver} ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install }