Created
May 26, 2020 15:24
-
-
Save zoe1337/0eedfe9d2cb17df7d80ad1fec3e0e575 to your computer and use it in GitHub Desktop.
almost-working Arch PKGBUILD for intel's mptcpd
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
pkgname=mptcpd | |
pkgver=0.4 | |
pkgrel=1 | |
pkgdesc="Multipath TCP daemon" | |
url="https://github.com/intel/mptcpd" | |
arch=('x86_64') | |
license=('GPL2' 'BSD') | |
depends=('ell') | |
source=( | |
"https://github.com/intel/mptcpd/releases/download/v$pkgver/$pkgname-$pkgver.tar.gz") | |
sha512sums=( | |
'1db9fa7182b167d45c44e16dcec051f426039eeeb84dc5b7352819f5b5048e5f5cdc22c567b32054b72bed444869cad36b24c3354e63d671a807010d0b9aab68') | |
build() { | |
cd "$pkgname-$pkgver" | |
./configure --prefix=/usr | |
make | |
} | |
package() { | |
cd "$pkgname-$pkgver" | |
make DESTDIR="$pkgdir/" install | |
rm -frv "$pkgdir/home" # this is a fuck, and it will fail when you try to build it outside /home | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment