depend on fake
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
367edbf60e
commit
8ccc89abe1
5
PKGBUILD
5
PKGBUILD
|
@ -3,7 +3,7 @@
|
||||||
pkgbase='sx-utils'
|
pkgbase='sx-utils'
|
||||||
pkgname=( 'sx-utils' 'sx-utils-xdg-compat' )
|
pkgname=( 'sx-utils' 'sx-utils-xdg-compat' )
|
||||||
pkgver='1.6.2'
|
pkgver='1.6.2'
|
||||||
pkgrel='1'
|
pkgrel='2'
|
||||||
pkgdesc='An incomplete set of tools to replace xdg-utils'
|
pkgdesc='An incomplete set of tools to replace xdg-utils'
|
||||||
url='https://git.fleshless.org/sx-open'
|
url='https://git.fleshless.org/sx-open'
|
||||||
arch=( 'x86_64' 'i686' )
|
arch=( 'x86_64' 'i686' )
|
||||||
|
@ -26,6 +26,7 @@ package_sx-utils() {
|
||||||
}
|
}
|
||||||
|
|
||||||
package_sx-utils-xdg-compat() {
|
package_sx-utils-xdg-compat() {
|
||||||
|
depends=( 'fake' )
|
||||||
provides=( 'xdg-utils' )
|
provides=( 'xdg-utils' )
|
||||||
conflicts=( 'xdg-utils' )
|
conflicts=( 'xdg-utils' )
|
||||||
|
|
||||||
|
@ -35,7 +36,7 @@ package_sx-utils-xdg-compat() {
|
||||||
ln -s sx-open "$pkgdir/usr/bin/xdg-open"
|
ln -s sx-open "$pkgdir/usr/bin/xdg-open"
|
||||||
|
|
||||||
for x in "${_xdg_utils_shim[@]}"; do
|
for x in "${_xdg_utils_shim[@]}"; do
|
||||||
ln -s true "$pkgdir/usr/bin/$x"
|
ln -s fake "$pkgdir/usr/bin/$x"
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user