blob: add1928fb0a94dc88908fdeddb72628fcc3141b4 (
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
43
|
# Maintainer: Kevin MacMartin <prurigro@gmail.com>
pkgname=responsively
pkgver=1.15.0
pkgrel=1
pkgdesc='A modified browser built using Electron that helps in responsive web development'
url='https://github.com/responsively-org/responsively-app'
license=('AGPL3')
arch=('i686' 'x86_64' 'armv6h' 'armv7h' 'aarch64')
depends=('zlib')
makedepends=('yarn')
options=('!strip')
_pkgver="${pkgver/\.beta/-beta}"
source=(
"https://github.com/responsively-org/responsively-app/archive/v${_pkgver}.tar.gz"
"$pkgname.desktop"
'fix-build.patch'
)
sha512sums=(
'f0f2f141e5f7856110c2adf77e9b83ba9e72e94c03aad73fc09ff77b3a1d177fd1e16e3234700051f46a3c981e92a9c224179583d7291eb28cc5357277454b98'
'eebe6acbb675d8804d87e34f6a005f55268ef8927e7bb1c7199791dfdbd4c3839ffe61ba2e59c23359dc9cbbfd74bed9d9610d0cd71e9961666b8167b3a04c33'
'SKIP'
)
prepare() {
cd $pkgname-app-$_pkgver
patch -p1 < ../fix-build.patch
}
build() {
cd $pkgname-app-$_pkgver/desktop-app
yarn install
yarn package
}
package() {
install -Dm644 $pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
cd $pkgname-app-$_pkgver/desktop-app
install -Dm644 assets/icon.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
install -Dm755 release/build/ResponsivelyApp-${_pkgver}.AppImage "$pkgdir/usr/bin/$pkgname"
}
|