blob: d67eb5c8a6fffebfc2109b88440d68ffd32425be (
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
44
45
|
# Maintainer: Mark Wagie <mark dot wagie at proton dot me>
# Contributor: spsf64 <at g m a i l dot com>
pkgname=webapp-manager
pkgver=1.4.6
pkgrel=1
pkgdesc="Run websites as if they were apps"
arch=('any')
url="https://github.com/linuxmint/webapp-manager"
license=('GPL-3.0-or-later')
depends=(
'dconf'
'python-beautifulsoup4'
'python-configobj'
'python-gobject'
'python-pillow'
'python-setproctitle'
'python-tldextract'
'xapp'
'xapp-symbolic-icons'
)
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('14834bca23a8b961c84c478cf9068f92cc6a5bb3a02fa2f2db9b37d348536931')
prepare() {
cd "$pkgname-$pkgver"
# Set version in About dialog
sed -i "s/__DEB_VERSION__/$pkgver/g" \
"usr/lib/$pkgname/$pkgname.py"
# Fix license path
# Dialog expands too wide
# sed -i 's|common-licenses/GPL|licenses/spdx/GPL-3.0-or-later.txt|g' \
# "usr/lib/$pkgname/$pkgname.py"
}
build() {
cd "$pkgname-$pkgver"
make
}
package() {
cd "$pkgname-$pkgver"
cp -r etc usr "$pkgdir"
}
|