# Maintainer: Mark Wagie # Contributor: spsf64 pkgname=webapp-manager pkgver=1.3.4 pkgrel=2 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' ) source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz") sha256sums=('818ec1186e028d538b0e7a9237b9fc8c68e804356d322a0a7ba5451c909fcbad') prepare() { cd "$pkgname-$pkgver" # Set version in About dialog sed -i "s/__DEB_VERSION__/$pkgver/g" \ "usr/lib/$pkgname/$pkgname.py" # Fix license path 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" }