blob: d44006b724300f8248660a9e54290e51c0a1b9fb (
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
|
#Maintainer Lucas van Leijen <lvanl at tuta dot io>
pkgname=appflowy-beta-bin
_pkgname=appflowy
_pkg=AppFlowy
pkgver=0.1.2
pkgrel=1
pkgdesc="Open source alternative to Notion"
arch=('x86_64')
url="https://www.appflowy.io/"
license=('AGPL')
provides=('appflowy')
conflicts=('appflowy')
depends=('xdg-user-dirs' 'gtk3' 'libkeybinder3' 'openssl-1.1')
source=("$pkgname-$pkgver.tar.gz::https://github.com/AppFlowy-IO/appflowy/releases/download/${pkgver}/AppFlowy_x86_64-unknown-linux-gnu_ubuntu-20.04.tar.gz")
b2sums=('a508e8d1afbf6813357ed8e549006ee6f1f3cb696b5e6cd6595dded2e7c8c68a66707d7dedb1977f93c4c956103548ba6f16b58202c1695698489a3a94432a48')
package(){
cd $_pkg
install -dDm755 "$pkgdir"/{usr/share/"$_pkgname",usr/bin}
cp -a * "$pkgdir/usr/share/$_pkgname/"
ln -s "/usr/share/$_pkgname/AppFlowy" "${pkgdir}/usr/bin/$_pkgname"
install -Dm644 "$srcdir/$_pkg/$_pkgname.desktop.temp" "$pkgdir/usr/share/applications/$_pkgname.desktop"
sed -i "4 s/\[CHANGE_THIS\]\/AppFlowy/\/usr\/share\/$_pkgname/" "$pkgdir/usr/share/applications/$_pkgname.desktop"
sed -i "5 s/\[CHANGE_THIS\]\/AppFlowy\/app_flowy/\/usr\/bin\/$_pkgname/" "$pkgdir/usr/share/applications/$_pkgname.desktop"
}
|