summaryrefslogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKostis Karantias2018-12-19 16:35:45 +0200
committerKostis Karantias2018-12-19 16:35:45 +0200
commit3242957eeac7522b73313f809e6462fb84c21a47 (patch)
treea4aea3e375a18725c43754e953bd115fdf3cb8e9 /PKGBUILD
parentcc246b00ad404348920cb99356b16fa241d4639f (diff)
downloadpackages-3242957eeac7522b73313f809e6462fb84c21a47.tar.gz
packages-3242957eeac7522b73313f809e6462fb84c21a47.tar.bz2
packages-3242957eeac7522b73313f809e6462fb84c21a47.zip
move library files to /usr/lib
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD7
1 files changed, 7 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 2aca7c4..8abc2bd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -44,6 +44,13 @@ package() {
44 # Remove makepkg-created symlinks before copying content 44 # Remove makepkg-created symlinks before copying content
45 rm *.tar.xz *.desktop 45 rm *.tar.xz *.desktop
46 46
47 # Move library files to /usr/lib/popcorntime
48 install -d "${pkgdir}/usr/lib/${_pkgname}/${pkgver}"
49 mv "${srcdir}"/lib/* "${pkgdir}/usr/lib/${_pkgname}/${pkgver}"
50 rmdir "${srcdir}"/lib/
51 install -d "${pkgdir}/etc/ld.so.conf.d"
52 echo "/usr/lib/${_pkgname}/${pkgver}" > "${pkgdir}/etc/ld.so.conf.d/${_pkgname}.conf"
53
47 # Copy complete content of source archive to /usr/share/${_pkgname}/ 54 # Copy complete content of source archive to /usr/share/${_pkgname}/
48 cp -a "${srcdir}"/* "${pkgdir}/usr/share/${_pkgname}/" 55 cp -a "${srcdir}"/* "${pkgdir}/usr/share/${_pkgname}/"
49 56