# Maintainer: Gabriele Fulgaro _pkgname="purelibc" pkgname="$_pkgname-git" pkgver=r2.090b90d pkgrel=1 pkgdesc="A glibc overlay library for process self-virtualization" arch=('any') url="https://github.com/virtualsquare/$_pkgname" license=('GPL2') groups=('view-os') provides=("$_pkgname") conflicts=("$_pkgname") replaces=("$_pkgname") source=("git+https://github.com/virtualsquare/$_pkgname.git") md5sums=('SKIP') pkgver() { cd "$_pkgname" printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" } build() { cd "$_pkgname" cmake -DCMAKE_INSTALL_PREFIX=/usr make } package() { cd "$_pkgname" make DESTDIR="$pkgdir/" install }