blob: fd84b8429be6e310bc2c21300014c54be95e62c1 (
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
40
41
42
|
# Maintainer: Mario Oenning <mo-son[at]mailbox[dot]org>
# Author: thgier <https://github.com/thgier>
_pkgname=potatopresenter
pkgname="${_pkgname}"-appimage
pkgver=1.0.2
pkgrel=1
pkgdesc="Tool to create presentation slides that can be exported as PDF."
arch=('x86_64')
url="https://github.com/thgier/PotatoPresenter"
license=('LGPL2.1')
optdepends=('texlive-latexextra: for LaTeX formular support'
'texlive-fontsextra: for LaTeX formular support'
'texlive-science: for LaTeX formular support')
provides=('potatopresenter')
conflicts=('potatopresenter')
options=(!strip)
_appimage="${pkgname}-${pkgver}.AppImage"
source=("$_appimage::$url/releases/download/v${pkgver}/PotatoPresenter-v${pkgver}.AppImage"
"potatopresenter.desktop"
"https://raw.githubusercontent.com/thgier/PotatoPresenter/master/potato_logo.svg")
noextract=("$_appimage")
sha256sums=('4c0443f637977590aa00d82fa30f408f6a96d26978e75ec728aea5a97d85be8b'
'030597070eefe827d1895f3736cf2c70753e2ca13812350610122193976a2a7c'
'd96b384a4e8ba5365785f9be8cd77e2f54d0ae767de7ae4c2f2f52c9de0e083b')
package() {
# AppImage
install -Dm755 "$_appimage" "${pkgdir}/opt/${_pkgname}/${_pkgname}.AppImage"
# application file
install -Dm644 "$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
# symlink executable
install -dm755 "${pkgdir}/usr/bin"
ln -s "/opt/${_pkgname}/${_pkgname}.AppImage" "${pkgdir}/usr/bin/${_pkgname}"
# icon
install -Dm644 "potato_logo.svg" "$pkgdir/usr/share/${_pkgname}/logo.svg"
}
|