Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2022-12-23 14:17:54 +00:00
parent 880568ea2e
commit 7766a9bc49

View File

@ -3,7 +3,7 @@
pkgbase='sx-utils'
pkgname=( 'sx-utils' 'sx-utils-xdg-compat' )
pkgver='1.6.5'
pkgrel='1'
pkgrel='2'
pkgdesc='An incomplete set of tools to replace xdg-utils'
url='https://code.fleshless.org/fbt/sx-open'
arch=( 'x86_64' 'i686' )
@ -20,7 +20,7 @@ _xdg_utils_shim=(
package_sx-utils() {
optdepends=( 'sx-utils-xdg-compat: symbolic links for xdg -> sx' )
cd "sx-open-${pkgver}"
cd "sx-open"
install -Dm755 sx-open "$pkgdir/usr/bin/sx-open"
}
@ -30,7 +30,7 @@ package_sx-utils-xdg-compat() {
provides=( 'xdg-utils' )
conflicts=( 'xdg-utils' )
cd "sx-open-${pkgver}"
cd "sx-open"
mkdir -pm755 "$pkgdir/usr/bin"
ln -s sx-open "$pkgdir/usr/bin/xdg-open"