diff options
author | Kostis Karantias | 2018-12-19 16:35:45 +0200 |
---|---|---|
committer | Kostis Karantias | 2018-12-19 16:35:45 +0200 |
commit | 3242957eeac7522b73313f809e6462fb84c21a47 (patch) | |
tree | a4aea3e375a18725c43754e953bd115fdf3cb8e9 /PKGBUILD | |
parent | cc246b00ad404348920cb99356b16fa241d4639f (diff) | |
download | aur-3242957eeac7522b73313f809e6462fb84c21a47.tar.gz |
move library files to /usr/lib
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 7 |
1 files changed, 7 insertions, 0 deletions
@@ -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}/" |