Created
August 27, 2016 15:03
-
-
Save zrax/0c67385b0cd73a5490989e181c15cd08 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Nicolas Quiénot < niQo at aur > | |
pkgname=libkqueue | |
pkgver=2.1.0 | |
pkgrel=1 | |
pkgdesc="userspace implementation of the kqueue kernel event notification mechanism found in FreeBSD and other BSD-based" | |
url="https://github.com/mheily/libkqueue" | |
arch=('i686' 'x86_64') | |
license=('BSD') | |
depends=('glibc') | |
makedepends=('gcc') | |
options=('!libtool') | |
source=(https://github.com/mheily/$pkgname/archive/v$pkgver.tar.gz) | |
md5sums=('e8f7cb2287d3c8b05dc413cd41c032fa') | |
build() { | |
cd "$pkgname-$pkgver" | |
# CFLAGS='-fPIC -I./include -I./src/common -Wall -Werror' ./configure --prefix=/usr || return 1 | |
autoreconf -fi | |
./configure --prefix=/usr | |
make | |
} | |
package() { | |
cd "$pkgname-$pkgver" | |
make DESTDIR="$pkgdir" install | |
# install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment