[arch-commits] Commit in libaio/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Anatol Pomozov anatolik at archlinux.org
Tue May 1 18:36:02 UTC 2018


    Date: Tuesday, May 1, 2018 @ 18:35:59
  Author: anatolik
Revision: 323269

archrelease: copy trunk to testing-x86_64

Added:
  libaio/repos/testing-x86_64/
  libaio/repos/testing-x86_64/PKGBUILD
    (from rev 323268, libaio/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: libaio/repos/testing-x86_64/PKGBUILD (from rev 323268, libaio/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2018-05-01 18:35:59 UTC (rev 323269)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer:  Bartłomiej Piotrowski <barthalion at gmail.com>
+# Contributor: Thomas S Hatch <thatch45 at gmail dot com>
+
+pkgname=libaio
+pkgver=0.3.111
+pkgrel=1
+pkgdesc="The Linux-native asynchronous I/O facility (aio) library"
+arch=('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=('abb8f46d64b9bd3d0c6097e3a36639be')
+
+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
+}
+



More information about the arch-commits mailing list