diff options
author | Baptiste Jonglez | 2016-11-29 00:17:23 +0100 |
---|---|---|
committer | Baptiste Jonglez | 2016-11-29 00:19:40 +0100 |
commit | 8e3bb135d0dc090115674448ac0ed28f49dbb751 (patch) | |
tree | 1688fe5a887645eee002f0b8a08d0d3405b6690c | |
parent | 6c775333ac11c7764603fb838c0271ab2ea3aa54 (diff) | |
download | aur-8e3bb135d0dc090115674448ac0ed28f49dbb751.tar.gz |
net-tools-mptcp: Switch to using a tarball instead of building from a git branch
-rw-r--r-- | .SRCINFO | 11 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 10 insertions, 18 deletions
@@ -1,22 +1,21 @@ # Generated by mksrcinfo v8 -# Wed Nov 2 15:51:12 UTC 2016 +# Mon Nov 28 23:17:23 UTC 2016 pkgbase = net-tools-mptcp pkgdesc = Configuration tools for Linux networking, with Multipath TCP support - pkgver = 0.91.1.r0.g888d808 + pkgver = 0.91.1 pkgrel = 1 - epoch = 1 + epoch = 2 url = http://multipath-tcp.org/pmwiki.php/Users/Tools arch = i686 arch = x86_64 license = GPL2 - makedepends = git depends = glibc provides = net-tools conflicts = mptcp-net-tools conflicts = net-tools options = !makeflags - source = git://github.com/multipath-tcp/net-tools#branch=mptcp_v0.91 - sha1sums = SKIP + source = net-tools-mptcp-0.91.1::https://github.com/multipath-tcp/net-tools/archive/v0.91.1.tar.gz + sha256sums = a04a390a09b90d12e9648c2f4adeb4d0a29c5a3ca00a3d4d2679e95a2dd9cbc4 pkgname = net-tools-mptcp @@ -2,28 +2,21 @@ # Adapted from the net-tools package in [core]. pkgname=net-tools-mptcp _srcname=net-tools -_mptcpv=0.91 -pkgver=0.91.1.r0.g888d808 +pkgver=0.91.1 pkgrel=1 -epoch=1 +epoch=2 pkgdesc="Configuration tools for Linux networking, with Multipath TCP support" arch=('i686' 'x86_64') license=('GPL2') url="http://multipath-tcp.org/pmwiki.php/Users/Tools" depends=('glibc') -makedepends=('git') provides=('net-tools') # mptcp-net-tools is the old name of the AUR package conflicts=('mptcp-net-tools' 'net-tools') # Build fails with -jX for X > 1. Force sequential build options=(!makeflags) -source=("git://github.com/multipath-tcp/net-tools#branch=mptcp_v${_mptcpv}") -sha1sums=('SKIP') - -pkgver() { - cd "${srcdir}/${_srcname}" - git describe --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' -} +source=("${pkgname}-${pkgver}::https://github.com/multipath-tcp/${_srcname}/archive/v${pkgver}.tar.gz") +sha256sums=('a04a390a09b90d12e9648c2f4adeb4d0a29c5a3ca00a3d4d2679e95a2dd9cbc4') prepare() { cd "${srcdir}/${_srcname}" @@ -38,7 +31,7 @@ build() { package() { cd "${srcdir}/${_srcname}" - make DESTDIR=${pkgdir}/usr update + make DESTDIR="${pkgdir}/usr" update # the following is provided by yp-tools rm "${pkgdir}"/usr/bin/{nis,yp}domainname |