Skip to content

Instantly share code, notes, and snippets.

Created July 2, 2016 13:50
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 anonymous/9fb696816e526f4dd187c43252b61e56 to your computer and use it in GitHub Desktop.
Save anonymous/9fb696816e526f4dd187c43252b61e56 to your computer and use it in GitHub Desktop.
# Maintainer: Nicolas Quiénot < niQo at aur >
pkgname=libkqueue
pkgver=2.0.4
pkgrel=2
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=('fb708a9183b8793e0b2b2252818df144')
build() {
cd "$pkgname-$pkgver"
echo $(pwd)
# 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