Add flatpak support #1
6
Makefile
6
Makefile
|
@ -1,12 +1,12 @@
|
|||
# makefile for pamac-url-handler
|
||||
build:
|
||||
makepkg
|
||||
makepkg -s
|
||||
|
||||
install:
|
||||
pamac-installer pamac-url-handler-*.tar.xz
|
||||
pamac-installer pamac-url-handler-*.tar.zst
|
||||
|
||||
remove:
|
||||
pamac-installer --remove pamac-url-handler
|
||||
|
||||
clean:
|
||||
$(RM) -rf src/ pkg/ *.tar.xz
|
||||
$(RM) -rf src/ pkg/ *.tar.zst
|
||||
|
|
13
PKGBUILD
13
PKGBUILD
|
@ -1,20 +1,23 @@
|
|||
# Maintainer: Your Name <youremail@domain.com>
|
||||
# Maintainer: TROM <contact@tromsite.com>
|
||||
pkgname=pamac-url-handler
|
||||
pkgver=1.0.0
|
||||
pkgrel=1
|
||||
pkgdesc="Install ALPM packages with pamac-installer from URL scheme x-alpm-package://packagename"
|
||||
arch=(any)
|
||||
url=""
|
||||
url="https://git.trom.tf/TROMjaro/pamac-url-handler-package"
|
||||
license=(unknown)
|
||||
depends=('pamac-gtk')
|
||||
depends=('pamac-gtk'
|
||||
'yad'
|
||||
'exo'
|
||||
'flatpak')
|
||||
provides=('pamac-url-handler')
|
||||
backup=()
|
||||
options=(!strip)
|
||||
install='pamac-url-handler.install'
|
||||
source=("pamac-url-handler"
|
||||
"pamac-url-handler.desktop")
|
||||
md5sums=('61007bb8b0d00dabb04c06a7e334653f'
|
||||
'ca911444c12149c3f11be0a26dd9b2dc')
|
||||
sha256sums=('SKIP'
|
||||
'SKIP')
|
||||
|
||||
package() {
|
||||
install -Dm644 ${srcdir}/pamac-url-handler.desktop ${pkgdir}/usr/share/applications/pamac-url-handler.desktop
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
# pamac URL handler package
|
||||
|
||||
Install ALPM packages with `pamac-installer` from URL scheme `x-alpm-package://[aur/]<packagename>`
|
||||
Install ALPM packages with `pamac-installer` or `flatpak` from URL scheme `x-alpm-package://[aur// or flatpak//]<packagename>`
|
||||
|
||||
## Building the package
|
||||
|
||||
|
@ -19,4 +19,3 @@ To remove just installed package, use:
|
|||
To cleanup the project, use:
|
||||
|
||||
`make clean`
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user