Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions srcpkgs/webapp-manager/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Template file for 'webapp-manager'
pkgname=webapp-manager
version=1.4.6
revision=1
build_style=gnu-makefile
hostmakedepends="gettext"
depends="dconf python3-BeautifulSoup4 python3-configobj python3-gobject python3-Pillow
python3-setproctitle python3-tldextract xapps xapp-symbolic-icons"
short_desc="Run websites as if they were apps"
maintainer="xeroxslayer <xeroxslayer@proton.me>"
license="GPL-3.0-or-later"
homepage="https://github.com/linuxmint/webapp-manager"
distfiles="https://github.com/linuxmint/webapp-manager/archive/refs/tags/${version}.tar.gz"
checksum="14834bca23a8b961c84c478cf9068f92cc6a5bb3a02fa2f2db9b37d348536931"

pre_build() {
# Fix license path.
vsed "s|common-licenses/GPL|licenses/${pkgname}/LICENSE|" -i usr/lib/${pkgname}/${pkgname}.py

# Set version in About dialog.
vsed "s|__DEB_VERSION__|${version}|" -i usr/lib/${pkgname}/${pkgname}.py

# Patch the icon set, make it use any symbolic icons, not the XApps ones.
# vsed "s|xsi-keyboard-shortcuts|preferences-desktop-keyboard-shortcuts|g" -i usr/lib/${pkgname}/${pkgname}.py
# vsed "s|xsi-||g" -i usr/share/${pkgname}/${pkgname}.ui usr/lib/${pkgname}/${pkgname}.py
}

do_install() {
vcopy etc /
vcopy usr /
vlicense LICENSE

Check failure on line 31 in srcpkgs/webapp-manager/template

View workflow job for this annotation

GitHub Actions / Lint templates

Template Lint

license GPL-3.0-or-later should not be installed
}
18 changes: 18 additions & 0 deletions srcpkgs/xapp-symbolic-icons/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# Template file for 'xapp-symbolic-icons'
pkgname=xapp-symbolic-icons
version=1.1.0
revision=1
build_style=meson
short_desc="XApp/GTK symbolic icons"
maintainer="xeroxslayer <xeroxslayer@proton.me>"
license="LGPL-3.0-or-later"
homepage="https://github.com/xapp-project/xapp-symbolic-icons"
distfiles="https://github.com/xapp-project/xapp-symbolic-icons/archive/refs/tags/${version}.tar.gz"
checksum="fa96ac6a1a85c0cb16dccab5c03ae1e651a3482cde4a93f792956977bc19108d"

post_install() {
# Remove unneeded Ubuntu/Debian/Mint specific stuff.
rm -r ${DESTDIR}/usr/bin
rm -r ${DESTDIR}/usr/share/xapp
vlicense LICENSE

Check failure on line 17 in srcpkgs/xapp-symbolic-icons/template

View workflow job for this annotation

GitHub Actions / Lint templates

Template Lint

license LGPL-3.0-or-later should not be installed
}
Loading