summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authornoodle2022-11-12 14:48:03 +0200
committernoodle2022-11-12 14:48:03 +0200
commitc933e9be4c684a7e055d38a2942608cd01760c6f (patch)
treedc620a6445560c3786fac140ae8d1af5a7039eae
parenta49f84ac9cd38c3d59a2919bd2e326e072b3fdc4 (diff)
downloadaur-c933e9be4c684a7e055d38a2942608cd01760c6f.tar.gz
addpkg: lib32-bindtointerface
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
2 files changed, 6 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 88cd590decfd..56bafb875707 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 2f9aedbb6b8c..800de9735ae7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}