blob: 740b098a2dd63406d4ed91012e7fa965b30aa291 (
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
|
# Maintainer: hu3rror <hu3rror@protonmail.com>
# Contributor: ventusliberum <dafeinayius@gmail.com>
pkgname=wonderpen-bin
pkgver=2.4.7
_pkgver=7386
pkgrel=1
pkgdesc='A professional writing app with a focused mode and markdown support'
arch=('x86_64')
url='https://www.tominlab.com/en/wonderpen'
license=('custom')
depends=('libappindicator-gtk3' 'libnotify' 'libxss' 'nss' 'xdg-utils')
provides=('wonderpen')
source=("https://file.tominlab.com/WonderPen/${pkgver%.*}/WonderPen_linux_amd64_${pkgver}(${_pkgver}).deb")
sha256sums=('9fa8587510c4786dd4c55a03f7c80816cc26658dc8af280c6f15a653368883c0')
package() {
# Install
cd "${srcdir}"
tar -xJf data.tar.xz -C "${pkgdir}"
install -dm755 "${pkgdir}"/usr/bin
ln -s /opt/WonderPen/wonderpen "${pkgdir}"/usr/bin/wonderpen
sed -i 's|^Exec=/opt/WonderPen/wonderpen %U|Exec=wonderpen %F|g' "${pkgdir}"/usr/share/applications/wonderpen.desktop
install -Dm 644 "${pkgdir}"/usr/share/icons/hicolor/512x512/apps/wonderpen.png "${pkgdir}"/usr/share/pixmaps/wonderpen.png
}
|