diff options
author | Mark Wagie | 2023-12-15 10:36:44 -0700 |
---|---|---|
committer | Mark Wagie | 2023-12-15 10:36:44 -0700 |
commit | 8c47e1cbdba01d0301a91d7f2a9e8f2bb6f02752 (patch) | |
tree | 33242685b8357d39971b800ada6eeeed6758c7ca | |
parent | 2754dfe56a860fe3b89e1e687131cc8da72c476a (diff) | |
download | aur-8c47e1cbdba01d0301a91d7f2a9e8f2bb6f02752.tar.gz |
use desktop-file-edit instead of setconf
-rw-r--r-- | .SRCINFO | 1 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 2 insertions, 3 deletions
@@ -6,7 +6,6 @@ pkgbase = youtube-music-bin install = youtube-music.install arch = x86_64 license = MIT - makedepends = setconf depends = gtk3 depends = libsecret depends = nss @@ -8,7 +8,6 @@ arch=('x86_64') url="https://th-ch.github.io/youtube-music" license=('MIT') depends=('gtk3' 'libsecret' 'nss') -makedepends=('setconf') provides=("${pkgname%-bin}") conflicts=("${pkgname%-bin}") install="${pkgname%-bin}.install" @@ -22,7 +21,8 @@ sha256sums=('0546133ce4cef3a179dc19594fd8e32b7c5552cac01f2dea0ae7189afdbd5d7d' package(){ bsdtar xfv data.tar.xz -C "$pkgdir" - setconf "$pkgdir/usr/share/applications/${pkgname%-bin}.desktop" Exec "${pkgname%-bin} %U" + desktop-file-edit --set-key=Exec --set-value="${pkgname%-bin} %U" \ + "$pkgdir/usr/share/applications/${pkgname%-bin}.desktop" install -Dm755 "${pkgname%-bin}.sh" "$pkgdir/usr/bin/${pkgname%-bin}" |