1
0

wlrobs: Use get_libdir instead of janky mess

This commit is contained in:
Ryan Fox 2020-08-27 02:39:52 +00:00
parent ce9d278d86
commit 411e93d49d
Signed by: flewkey
GPG Key ID: 94F56ADFD848851E
2 changed files with 3 additions and 3 deletions

View File

@ -1,2 +1,2 @@
EBUILD obs-wlrobs-9999.ebuild 899 BLAKE2B 51d58f6e2bcbaea0cd775dcd74e8c397ba745a92354ada80986e1b9f82c89697413c1c9ade42fe93a1661c78a145d96987966fc36cd83ef67b0ef979f9dc98e8 SHA512 7c91bda0e1bd3f4bcb31a9004f05a0e8497987d0a2d8612d82fbfaa53c7a4392ef56696859fc14162079fa1c36dacd7f6db475c4d69000c9609c2f70161c75b6
EBUILD obs-wlrobs-9999.ebuild 930 BLAKE2B f76c5c8a584543c5cef010b9184b13023fd6d081191d12f9912bf7d0fb04a3ccdbdd3df25b9135cd0dadd1314a4deaa08e65c04f6dbb0b194561bbc12b2c62e5 SHA512 85fcddd686225000763d894166dbfbea463187473d540d90838ae834a85aff6a53dcc5ed8a751831aef6785137889ea98397f616e3493b30ff271257b9aa23bb
MISC metadata.xml 345 BLAKE2B 4c47c3d3ce1aa4ba13b79092d98582ff58e2f71ed462515a0ecdb3eeb718e0fc35aa742c7d9d6f2c1048534e42c385b2f36c44ec810cdcb13bbea21b72c8514d SHA512 96821029966ea9a6d780ff71f8213457be0e359c6f0fec44f63148ae6781023e6153a94ee1ab950df1aac5d839febff1a9a05a74991029fdcfa3c72ea5a0b05f

View File

@ -40,6 +40,6 @@ src_install() {
if $(uname -m | grep "64"); then
install_path="/usr/lib64/obs-plugins/"
fi
dodir ${install_path}
cp "${S}-build/libwlrobs.so" "${D}/${install_path}/libwlrobs.so" || die "Failed to install"
dodir "/usr/$(get_libdir)/obs-plugins"
cp "${S}-build/libwlrobs.so" "${D}/usr/$(get_libdir)/obs-plugins/libwlrobs.so" || die "Failed to install"
}