summaryrefslogtreecommitdiffstats
path: root/abs/core/libaio/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2020-10-04 15:13:05 (GMT)
committerBritney Fransen <brfransen@gmail.com>2020-10-04 15:13:05 (GMT)
commit9565efd2b2bd2ba88007e48be092882a3546770d (patch)
tree7538706f6975979d74792694205102391ccf24a4 /abs/core/libaio/PKGBUILD
parent3c4fac66d04ee4579a0329bd089f59f8cc7abad5 (diff)
downloadlinhes_pkgbuild-9565efd2b2bd2ba88007e48be092882a3546770d.zip
linhes_pkgbuild-9565efd2b2bd2ba88007e48be092882a3546770d.tar.gz
linhes_pkgbuild-9565efd2b2bd2ba88007e48be092882a3546770d.tar.bz2
systemd: update to 246.6
Diffstat (limited to 'abs/core/libaio/PKGBUILD')
-rw-r--r--abs/core/libaio/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/abs/core/libaio/PKGBUILD b/abs/core/libaio/PKGBUILD
new file mode 100644
index 0000000..08d74db
--- /dev/null
+++ b/abs/core/libaio/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Bartłomiej Piotrowski <barthalion@gmail.com>
+# Contributor: Thomas S Hatch <thatch45 at gmail dot com>
+
+pkgname=libaio
+pkgver=0.3.110
+pkgrel=1
+pkgdesc="The Linux-native asynchronous I/O facility (aio) library"
+arch=('i686' 'x86_64')
+url="http://lse.sourceforge.net/io/aio.html"
+license=('LGPL')
+source=(http://ftp.de.debian.org/debian/pool/main/liba/$pkgname/${pkgname}_${pkgver}.orig.tar.gz)
+md5sums=('2a35602e43778383e2f4907a4ca39ab8')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ # AIO library is a thin wrapper around kernel syscalls, it does not use stdlib
+ # and other helpers like stack protection libraries
+ CFLAGS="-march=${CARCH/_/-} -mtune=generic -O2 -pipe"
+ make
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make partcheck
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make prefix="$pkgdir/usr" install
+}
+