diff options
author | emma | 2023-03-22 14:45:49 -0400 |
---|---|---|
committer | emma | 2023-03-22 14:45:49 -0400 |
commit | 55782bff8bb0f44b8031d025562d8dba90315d1b (patch) | |
tree | d7b7240dadae0745401ce3bb01e2657e466f0081 | |
parent | 61758efb4f56fb225cc0f0c791a0fa5341e1e886 (diff) | |
download | aur-55782bff8bb0f44b8031d025562d8dba90315d1b.tar.gz |
version 0.4.0
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 12 insertions, 10 deletions
@@ -1,15 +1,15 @@ # Maintainer: Emma Tebibyte <emma@tebibyte.media> pkgname="xdg-sanity" -pkgver=0.3 -pkgrel=5 +pkgver=0.4.0 +pkgrel=1 pkgdesc="A tool to sanely open http/s links." arch=("any") url="https://git.tebibyte.media/emma/xdg-sanity" license=("AGPL3") -source=("https://git.tebibyte.media/emma/xdg-sanity/archive/0.3.tar.gz") +source=("https://git.tebibyte.media/emma/xdg-sanity/archive/0.4.0.tar.gz") backup=("etc/xdg-sanity/xdg-sanity.conf") -depends=("handlr" "xdg-utils") +depends=("handlr") makedepends=("git" "gendesk") provides=("xdg-sanity") @@ -17,15 +17,17 @@ sha256sums=("SKIP") prepare() { cd .. - gendesk -n --categories="Network;WebBrowser" --exec="xdg-sanity %U" --genericname="Web Browser" --icon="browser" --mimetypes="text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall" PKGBUILD + gendesk -n --categories="Network;WebBrowser" \ + --exec="xdg-sanity %U" \ + --genericname="Web Browser" \ + --icon="browser" \ + --mimetypes="text/html;text/xml;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;application/x-xpinstall" \ + PKGBUILD mv xdg-sanity.desktop "${srcdir}" } package() { cd $srcdir - install -D ${pkgname}/xdg-sanity.sh ${pkgdir}/usr/bin/xdg-sanity - install -D ${pkgname}/xdg-sanity/xdg-sanity.conf ${pkgdir}/etc/xdg-sanity/xdg-sanity.conf - install -D ${pkgname}/xdg-sanity/extensions/teddit-mime.sample ${pkgdir}/etc/xdg-sanity/extensions/teddit-mime.sample - install -D ${pkgname}/xdg-sanity/extensions/youtube-replace.sample ${pkgdir}/etc/xdg-sanity/extensions/youtube-replace.sample + install -D ${pkgname}/xdg-sanity ${pkgdir}/usr/bin/xdg-sanity install -D xdg-sanity.desktop ${pkgdir}/usr/share/applications/xdg-sanity.desktop -}
\ No newline at end of file +} |