pkgname= pkgver= pkgrel=1 pkgdesc="" arch=('x86_64') url="" license=('') depends=() makedepends=() backup=() options=() install=${pkgname}.install source=() sha256sums=() prepare() { cd ${pkgname}-${pkgver} patch -Np1 -i ${srcdir}/ } build() { cd ${pkgname}-${pkgver} local configure_args=( ${configure_options} ) ./configure ${configure_args[@]} make local cmake_args=( -B flarebird-build -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib64 -DCMAKE_LIB_SUFFIX=64 ) cmake ${cmake_args[@]} cmake --build flarebird-build local meson_args=( ) ${meson_options} ${meson_args[@]} ${meson_build} } package() { cd ${pkgname}-${pkgver} make DESTDIR=${pkgdir} install DESTDIR=${pkgdir} cmake --install flarebird-build ${meson_install} ${pkgdir} }