diff options
author | Baptiste Jonglez | 2016-03-30 11:59:54 +0200 |
---|---|---|
committer | Baptiste Jonglez | 2016-03-30 12:08:03 +0200 |
commit | 70ea17b7d1027aeb988cb2357a511e5f9a4bddf1 (patch) | |
tree | 102b42c3b4c3fa399c27dbeadcb8d0198ca2b6be /PKGBUILD | |
parent | 520717dbb41472915edb5aae4828a3334a571d4f (diff) | |
download | aur-70ea17b7d1027aeb988cb2357a511e5f9a4bddf1.tar.gz |
iproute-mptcp: Update to 0.90
This version is based on upstream version v4.1.1
Also pick up some changes from the iproute2 arch package:
- add linux-atm as a makedepends
- refresh iproute2-fhs.patch
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 34 |
1 files changed, 18 insertions, 16 deletions
@@ -1,54 +1,56 @@ # Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org> pkgname=iproute-mptcp -pkgver=0.88 +pkgver=0.90 pkgrel=1 pkgdesc="IP Routing Utilities, with Multipath TCP support" arch=('i686' 'x86_64') license=('GPL2') url="http://multipath-tcp.org/pmwiki.php/Users/Tools" depends=('glibc' 'iptables') +makedepends=('linux-atm') +optdepends=('linux-atm: ATM support') provides=('iproute2') conflicts=('iproute2') options=('staticlibs' '!makeflags') backup=('etc/iproute2/ematch_map' 'etc/iproute2/rt_dsfield' 'etc/iproute2/rt_protos' \ 'etc/iproute2/rt_realms' 'etc/iproute2/rt_scopes' 'etc/iproute2/rt_tables') source=("https://github.com/multipath-tcp/$pkgname/archive/v$pkgver.tar.gz" - "iproute2-fhs.patch" - "unwanted-link-help.patch") -sha256sums=('4e5fd7bde263a60c7b6da89030e24a6bcc7564cfab1a90b150ea3c92c5efc263' - '2a1ff211f1fcc57bf92dd3d19190ba72d094c4a4e82d409ba7f80d857778f0df' + "iproute2-fhs.patch" + "unwanted-link-help.patch") +sha256sums=('d52af6789539eee5ab5e7a9ede2646bb0cb0bfe034ecc98a73a21317bb3ad1da' + 'fa569bd5be8c6c47d43e84b8836436e15cec3347326aa896bb55a8babe9cb0bd' '3f72492554a5417c13b2b6f6222c158319ce91c0b6c25fd651f49add493323a7') prepare() { - cd $srcdir/$pkgname-$pkgver + cd "${srcdir}/${pkgname}-${pkgver}" # set correct fhs structure - patch -Np1 -i "$srcdir/iproute2-fhs.patch" + patch -Np1 -i "${srcdir}/iproute2-fhs.patch" # allow operations on links called "h", "he", "hel", "help" - patch -Np1 -i "$srcdir/unwanted-link-help.patch" + patch -Np1 -i "${srcdir}/unwanted-link-help.patch" # do not treat warnings as errors sed -i 's/-Werror//' Makefile } build() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" ./configure make } package() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" - make DESTDIR="$pkgdir" install + make DESTDIR="${pkgdir}" install # libnetlink isn't installed, install it FS#19385 - install -Dm644 include/libnetlink.h "$pkgdir/usr/include/libnetlink.h" - install -Dm644 lib/libnetlink.a "$pkgdir/usr/lib/libnetlink.a" + install -Dm644 include/libnetlink.h "${pkgdir}/usr/include/libnetlink.h" + install -Dm644 lib/libnetlink.a "${pkgdir}/usr/lib/libnetlink.a" - # usrmove - cd "$pkgdir" - mv usr/sbin usr/bin + # move binaries + cd "${pkgdir}" + mv sbin usr/bin } |