# Template file for 'ETL' pkgname=ETL version=1.3.11 revision=1 archs=noarch wrksrc="synfig-${version}" build_wrksrc=ETL build_style=gnu-configure hostmakedepends="automake" short_desc="Extended Template Library" maintainer="Diogo Leal " license="GPL-2.0-or-later" homepage="https://www.synfig.org/" distfiles="https://github.com/synfig/synfig/archive/v${version}.tar.gz" checksum=ffb0abda955aa81756883740a290e87f5205e3438bdc74424978a42d221f26ee pre_configure() { autoreconf -fi } post_install() { # It installs to /usr/include/ETL/ETL by mistake, fix it. mv "${DESTDIR}"/usr/include/ETL/ETL/* "${DESTDIR}"/usr/include/ETL rmdir "${DESTDIR}"/usr/include/ETL/ETL # This file isn't copied on gnu-configure but is on cmake vcopy ETL/_bit_rotate.h usr/include/ETL }