pkgname=libevent pkgver=2.1.12 pkgrel=1 pkgdesc="Event notification library" arch=('x86_64') url="https://libevent.org/" license=('BSD-3-Clause') depends=('openssl') makedepends=('python' 'zlib') source=(https://github.com/libevent/libevent/releases/download/release-${pkgver}-stable/${pkgname}-${pkgver}-stable.tar.gz) sha256sums=(92e6de1be9ec176428fd2367677e61ceffc2ee1cb119035037a27d346b0403bb) prepare() { cd ${pkgname}-${pkgver}-stable sed -i 's/python/&3/' event_rpcgen.py } build() { cd ${pkgname}-${pkgver}-stable local configure_args=( --disable-static ${configure_options} ) ./configure ${configure_args[@]} make } package() { cd ${pkgname}-${pkgver}-stable make DESTDIR=${pkgdir} install }