# Maintainer: Natanael Copa pkgname=libxpm pkgver=3.5.16 pkgrel=1 pkgdesc="X11 pixmap library" url="https://xorg.freedesktop.org/" arch="all" license="X11" options="!check" # No test suite. subpackages="$pkgname-dev $pkgname-doc" makedepends="libxt-dev libxext-dev util-linux-dev util-macros" source="https://www.x.org/releases/individual/lib/libXpm-$pkgver.tar.xz" builddir="$srcdir"/libXpm-$pkgver # secfixes: # 3.5.15-r0: # - CVE-2022-46285 # - CVE-2022-44617 # - CVE-2022-4883 build() { ac_cv_search_gettext=no \ ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --disable-open-zfile make } package() { make DESTDIR="$pkgdir" install install -Dm644 COPYING "$pkgdir"/usr/share/licenses/$pkgname/COPYING } sha512sums=" ee564311f8c1c9c08ed1035d55c287ecf7c20c6fee09ad448acfab59f38fd1ef381d4a24b4af2b581f3033730eebc7c690918e52ba706de689d1ef11085edac2 libXpm-3.5.16.tar.xz "