commit cb9739b73d39bbbb3b284b4bfa55fa55d70b2cde Author: xhaa123 Date: Mon Nov 4 18:30:17 2024 +0800 libverto 0.3.2-1 diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..40c3dd3 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,34 @@ +# This is an example PKGBUILD file. Use this as a start to creating your own, +# and remove these comments. For more information, see 'man PKGBUILD'. +# NOTE: Please fill out the license field for your package! If it is unknown, +# then please put 'unknown'. + +# Maintainer: Future Linux Team +pkgname=libverto +pkgver=0.3.2 +pkgrel=1 +pkgdesc="Main event loop abstraction library" +arch=('x86_64') +url="https://github.com/latchset/libverto" +license=('MIT') +depends=('glibc' 'libevent') +source=(https://github.com/latchset/libverto/releases/download/${pkgver}/${pkgname}-${pkgver}.tar.gz) +sha256sums=(8d1756fd704f147549f606cd987050fb94b0b1ff621ea6aa4d6bf0b74450468a) + +build() { + cd ${pkgname}-${pkgver} + + ${CONFIGURE} \ + --disable-static \ + --with-libevent \ + --without-libev \ + --without-glib + + make +} + +package() { + cd ${pkgname}-${pkgver} + + make DESTDIR=${pkgdir} install +}