summaryrefslogtreecommitdiff
path: root/community/libaio/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/libaio/PKGBUILD')
-rw-r--r--community/libaio/PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/community/libaio/PKGBUILD b/community/libaio/PKGBUILD
index 717473564..5d4dfa04c 100644
--- a/community/libaio/PKGBUILD
+++ b/community/libaio/PKGBUILD
@@ -3,16 +3,21 @@
pkgname=libaio
pkgver=0.3.109
+_patchver=${pkgver}-2
pkgrel=6
pkgdesc="The Linux-native asynchronous I/O facility (aio) library"
-arch=('i686' 'x86_64')
+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)
-md5sums=('435a5b16ca6198eaf01155263d855756')
+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
}
@@ -21,3 +26,5 @@ package() {
make prefix="$pkgdir/usr" install
}
+md5sums=('435a5b16ca6198eaf01155263d855756'
+ 'f942fe72127b612b93636387de47001b')