From f2745e4b2d87aee516231ff6529431429ae33078 Mon Sep 17 00:00:00 2001 From: Stephan Springer Date: Fri, 22 May 2020 16:08:18 +0200 Subject: install libs in /usr/share/popcorntime/lib instead of /usr/lib/popcorntime --- PKGBUILD | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD index 79b10b8..ff878e4 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -16,7 +16,7 @@ pkgname=popcorntime-bin _pkgname=popcorntime pkgver=0.4.4 -pkgrel=1 +pkgrel=2 pkgdesc="Stream free movies and TV shows from torrents" arch=('x86_64') url="https://popcorntime.app/" @@ -48,16 +48,8 @@ package() { # Remove makepkg-created symlinks before copying content rm "$_zipfile" "${_pkgname}.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}/" + # Copy complete content of source archive to /usr/share/${_pkgname} + cp -a "${srcdir}"/* "${pkgdir}/usr/share/${_pkgname}" # Fix permissions find "${pkgdir}/usr/share/${_pkgname}/" -perm 600 -exec chmod 644 '{}' \; -- cgit v1.2.3-70-g09d2