summaryrefslogtreecommitdiff
path: root/extra/libaio/PKGBUILD
blob: 01ddc86bbecba8ecbc4b0885f2f94165075b1007 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 196999 2013-10-21 12:33:19Z tpowa $
# Maintainer:  Bartłomiej Piotrowski <barthalion@gmail.com>
# Contributor: Thomas S Hatch <thatch45 at gmail dot com>

pkgname=libaio
pkgver=0.3.109
_patchver=${pkgver}-2
pkgrel=7
pkgdesc="The Linux-native asynchronous I/O facility (aio) library"
arch=('i686' 'x86_64' 'mips64el')
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
http://ftp.de.debian.org/debian/pool/main/liba/${pkgname}/${pkgname}_${_patchver}.debian.tar.gz)

build() {
  cd "$srcdir/$pkgname-$pkgver"

  # Debian patches for extra arches
  patch -Np1 -i ../debian/patches/00_arches.patch

  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make prefix="$pkgdir/usr" install
}

md5sums=('435a5b16ca6198eaf01155263d855756'
         'f942fe72127b612b93636387de47001b')