blob: 85e49f233e7b1dbba2d22df47810b546918d5149 (
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.2.2
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=(
'189116027927003c88cb9e6c2c5eac02399578c425680850abeb96ea9cfcec42bcd4429b0cd90412fc9f787ac26de51b064f66630fb8090a679d3244e5fb8bc4'
'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"
}
|