blob: e64d51a139df9bbe4f3cd6808045d5a4c927521c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
|
# Maintainer: Houjun Liu <hliu at shabang dot cf>
# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
pkgname=condution-bin
pkgver=1.1.1
_pkgver=1.1.1
pkgrel=0
pkgdesc="A personal project management system that makes sense and will not burn your pockets out"
arch=('x86_64')
url='https://www.condution.com'
license=('GPL3')
depends=('nss'
'dbus-glib'
'gtk2'
'gtk3'
'libxss'
'libdbusmenu-glib')
makedepends=('gendesk')
source=("${pkgname%-bin}-${_pkgver}.AppImage::https://github.com/Shabang-Systems/Condution/releases/download/v${_pkgver}/Condution-${_pkgver}.AppImage")
sha256sums=('b3256006038a2245d09e1c6a1e785479ece9d13cc94989181605663eec7c2106')
package() {
chmod 755 ./${pkgname%-bin}-${_pkgver}.AppImage
./${pkgname%-bin}-${_pkgver}.AppImage --appimage-extract
install -Dm644 squashfs-root/usr/share/icons/hicolor/0x0/apps/${pkgname%-bin}.png "${pkgdir}/usr/share/pixmaps/condution.png"
gendesk -f -n --pkgname "${pkgname%-bin}" \
--pkgdesc "$pkgdesc" \
--name "Condution" \
--comment "$pkgdesc" \
--exec "${pkgname%-bin}" \
--categories 'Utility;Application' \
--icon "${pkgname%-bin}"
install -Dm644 "${pkgname%-bin}.desktop" -t "${pkgdir}/usr/share/applications"
install -d "${pkgdir}/usr/bin"
install -d "${pkgdir}/opt"
cp -avR squashfs-root/ "${pkgdir}/opt/${pkgname%-bin}"
ln -s /opt/${pkgname%-bin}/AppRun "${pkgdir}/usr/bin/${pkgname%-bin}"
find "${pkgdir}/opt/${pkgname%-bin}" -type d -exec chmod 755 {} +
}
|