diff options
author | Dimitris Kiziridis | 2020-07-17 22:11:22 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-07-17 22:11:22 +0300 |
commit | f1cca778a5909ae2451a8445b06b150be1ef71c3 (patch) | |
tree | 1e7a9df2586f796512c318e0ea5f2b727a9d67ed /PKGBUILD | |
parent | 17cda9fe8faa059c031b626671a1e583fbb0644b (diff) | |
download | aur-localxpose-gui.tar.gz |
restructure package
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 5 insertions, 3 deletions
@@ -8,7 +8,6 @@ arch=('x86_64') url='https://localxpose.io' license=("custom:${pkgname}") provides=('localxpose') -depends=('zlib') makedepends=('gendesk') options=('!strip') noextract=("${pkgname}-${pkgver}.AppImage") @@ -30,7 +29,10 @@ package() { --icon "${pkgname}" install -Dm644 "${pkgname}.desktop" -t "${pkgdir}/usr/share/applications" install -d "${pkgdir}/usr/bin" - install -Dm755 "${srcdir}/${pkgname}-${pkgver}.AppImage" "${pkgdir}/opt/${pkgname}/${pkgname}.AppImage" - ln -s /opt/localxpose-gui/${pkgname}.AppImage "${pkgdir}/usr/bin/localxpose-gui" + install -d "${pkgdir}/opt" + cp -avR squashfs-root/ "${pkgdir}/opt/${pkgname}" + ln -s /opt/${pkgname}/AppRun "${pkgdir}/usr/bin/${pkgname}" + find "${pkgdir}/opt/${pkgname}" -type d -exec chmod 755 {} + + find "${pkgdir}/opt/${pkgname}" -type f -exec chmod o-w {} + install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}" }
\ No newline at end of file |