From 3242957eeac7522b73313f809e6462fb84c21a47 Mon Sep 17 00:00:00 2001 From: Kostis Karantias Date: Wed, 19 Dec 2018 16:35:45 +0200 Subject: move library files to /usr/lib --- PKGBUILD | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/PKGBUILD b/PKGBUILD index 2aca7c4..8abc2bd 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -44,6 +44,13 @@ package() { # Remove makepkg-created symlinks before copying content rm *.tar.xz *.desktop + # Move library files to /usr/lib/popcorntime + install -d "${pkgdir}/usr/lib/${_pkgname}/${pkgver}" + mv "${srcdir}"/lib/* "${pkgdir}/usr/lib/${_pkgname}/${pkgver}" + rmdir "${srcdir}"/lib/ + install -d "${pkgdir}/etc/ld.so.conf.d" + echo "/usr/lib/${_pkgname}/${pkgver}" > "${pkgdir}/etc/ld.so.conf.d/${_pkgname}.conf" + # Copy complete content of source archive to /usr/share/${_pkgname}/ cp -a "${srcdir}"/* "${pkgdir}/usr/share/${_pkgname}/" -- cgit v1.2.3-70-g09d2