diff options
author | Dimitris Kiziridis | 2020-07-17 08:50:21 +0300 |
---|---|---|
committer | Dimitris Kiziridis | 2020-07-17 08:50:21 +0300 |
commit | 9796b73f50e184d36edbc9bc1bf57d3fbb363c24 (patch) | |
tree | 77bed2a1db931299bac3d9cf0de210c092338774 | |
parent | b2c3c60361e860f2c2271b73d11bf0fa4da26778 (diff) | |
download | aur-geometrize-bin.tar.gz |
restructure package
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 7 |
2 files changed, 4 insertions, 4 deletions
@@ -6,7 +6,6 @@ pkgbase = geometrize-bin arch = x86_64 license = GPL makedepends = gendesk - depends = zlib provides = geometrize noextract = geometrize-1.0.1.AppImage options = !strip @@ -8,7 +8,6 @@ arch=('x86_64') url='https://www.geometrize.co.uk' license=('GPL') provides=('geometrize') -depends=('zlib') makedepends=('gendesk') options=('!strip') noextract=("${pkgname%-bin}-${pkgver}.AppImage") @@ -28,6 +27,8 @@ package() { --icon "${pkgname%-bin}" install -Dm644 "${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications" install -d "${pkgdir}/usr/bin" - install -Dm755 "${srcdir}/${pkgname%-bin}-${pkgver}.AppImage" "${pkgdir}/opt/${pkgname%-bin}/${pkgname%-bin}.AppImage" - ln -s /opt/geometrize/${pkgname%-bin}.AppImage "${pkgdir}/usr/bin/geometrize" + install -d "${pkgdir}/opt" + cp -avR squashfs-root/ "${pkgdir}/opt/${pkgname}" + ln -s /opt/${pkgname}/AppRun "${pkgdir}/usr/bin/geometrize" + find "${pkgdir}/opt/${pkgname}" -type d -exec chmod 755 {} + }
\ No newline at end of file |