summaryrefslogtreecommitdiff
path: root/extra/libaio/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libaio/PKGBUILD')
-rw-r--r--extra/libaio/PKGBUILD15
1 files changed, 12 insertions, 3 deletions
diff --git a/extra/libaio/PKGBUILD b/extra/libaio/PKGBUILD
index 500097b37..0e9212586 100644
--- a/extra/libaio/PKGBUILD
+++ b/extra/libaio/PKGBUILD
@@ -4,16 +4,21 @@
pkgname=libaio
pkgver=0.3.109
+_patchver=${pkgver}-3
pkgrel=7
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
}
@@ -22,3 +27,7 @@ package() {
make prefix="$pkgdir/usr" install
}
+md5sums=('435a5b16ca6198eaf01155263d855756'
+ 'f942fe72127b612b93636387de47001b')
+md5sums=('435a5b16ca6198eaf01155263d855756'
+ '5b0b35888aeaef7f3f69f05813bd69c9')