diff options
author | noodle | 2022-11-12 14:48:03 +0200 |
---|---|---|
committer | noodle | 2022-11-12 14:48:03 +0200 |
commit | c933e9be4c684a7e055d38a2942608cd01760c6f (patch) | |
tree | dc620a6445560c3786fac140ae8d1af5a7039eae | |
parent | a49f84ac9cd38c3d59a2919bd2e326e072b3fdc4 (diff) | |
download | aur-c933e9be4c684a7e055d38a2942608cd01760c6f.tar.gz |
addpkg: lib32-bindtointerface
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 6 insertions, 5 deletions
@@ -1,4 +1,4 @@ -pkgbase = bindtointerface +pkgbase = lib32-bindtointerface pkgdesc = With this program you can bind applications to a specific network interface / network adapter. pkgver = 4b03914 pkgrel = 1 @@ -8,4 +8,4 @@ pkgbase = bindtointerface source = https://raw.githubusercontent.com/JsBergbau/BindToInterface/4b039146016d8fbd3bc3e8e5df16eb10ba03c397/bindToInterface.c sha256sums = 04a74f52923a0d92102802162451efb5bddf9251c9843ef49e3f4decbaf9e819 -pkgname = bindtointerface +pkgname = lib32-bindtointerface @@ -1,5 +1,5 @@ # Maintainer: Your Name <youremail@domain.com> -pkgname=bindtointerface +pkgname=lib32-bindtointerface pkgver=4b03914 pkgrel=1 arch=("x86_64") @@ -11,6 +11,7 @@ sha256sums=('04a74f52923a0d92102802162451efb5bddf9251c9843ef49e3f4decbaf9e819') build() { gcc \ + -m32 \ -nostartfiles \ -fpic \ -shared bindToInterface.c \ @@ -20,7 +21,7 @@ build() { } package() { - install -Dm644 "./bindToInterface.so" "$pkgdir/usr/lib/bindToInterface.so" - ln -s "bindToInterface.so" "$pkgdir/usr/lib/bindtointerface.so" + install -Dm644 "./bindToInterface.so" "$pkgdir/usr/lib32/bindToInterface.so" + ln -s "bindToInterface.so" "$pkgdir/usr/lib32/bindtointerface.so" } |