jobcore/libverto/PKGBUILD

50 lines
1.4 KiB
Bash

#!/usr/bin/bash
# JOBoRun : Jwm OpenBox Obarun RUNit
# Maintainer : Joe Bo Run <joborun@disroot.org>
# PkgSource : url="https://git.disroot.org/joborun-pkg/jobcore/src/branch/main/$pkgname"
# Website : https://pozol.eu
#-----------------------------------------| DESCRIPTION |---------------------------------------
pkgname=libverto
pkgver=0.3.2
pkgrel=05
pkgdesc="Main event loop abstraction library"
url="https://github.com/latchset/libverto"
depends=('glibc' 'libevent')
provides=('libverto.so' 'libverto-libevent.so' 'libverto-module-base')
conflicts=("krb5<1.19.3-2" "libverto-libevent<0.3.2-4")
replaces=("libverto-libevent<0.3.2-4")
source=("https://github.com/latchset/libverto/releases/download/$pkgver/libverto-$pkgver.tar.gz")
build() {
cd "$pkgname-$pkgver"
./configure --prefix=/usr \
--disable-static \
--with-libevent \
--without-libev \
--without-glib
make
}
check() {
cd "$pkgname-$pkgver"
make check
}
package_libverto() {
cd "$pkgname-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm0644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
}
#---- arch license gpg-key & sha256sums ----
arch=(x86_64)
license=(MIT)
sha256sums=(8d1756fd704f147549f606cd987050fb94b0b1ff621ea6aa4d6bf0b74450468a) # libverto-0.3.2.tar.gz
## 3f752fe74d647d0db8a17a6145c9a56cfe9733701f9b12c0729d00db7b6a6bea libverto-0.3.2-05-x86_64.pkg.tar.lz