blob: 487aa57d4bea5f0ba35fbeb17061f559987f1e58 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Naoki Kanazawa <nk dot naoki912 at gmail dot com>
pkgname=hackmd-desktop
pkgver=0.1.0
pkgrel=1
pkgdesc="An electron wrapped desktop client for HackMD"
arch=('any')
url="https://github.com/hackmdio/hackmd-desktop"
license=('MIT')
depends=('gtk2' 'gconf' 'libxss' 'nss' 'alsa-lib')
source=(
"${url}/releases/download/v${pkgver}/hackmd-desktop_${pkgver}_amd64.deb"
)
md5sums=('49057098eb60ad3796b99bb5dc62b8d8')
package() {
tar Jxf data.tar.xz
cp -a ${srcdir}/usr ${pkgdir}/usr
cp -a ${srcdir}/opt ${pkgdir}/opt
install -dm755 ${pkgdir}/usr/bin
ln -sf /opt/HackMD/hackmd-desktop ${pkgdir}/usr/bin/hackmd-desktop
}
|