Skip to content

Instantly share code, notes, and snippets.

@zrax
Created August 27, 2016 15:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save zrax/0c67385b0cd73a5490989e181c15cd08 to your computer and use it in GitHub Desktop.
Save zrax/0c67385b0cd73a5490989e181c15cd08 to your computer and use it in GitHub Desktop.
# 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