depend on fake

Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
Jack L. Frost 2018-08-01 19:45:26 +03:00
parent 367edbf60e
commit 8ccc89abe1
1 changed files with 3 additions and 2 deletions

View File

@ -3,7 +3,7 @@
pkgbase='sx-utils'
pkgname=( 'sx-utils' 'sx-utils-xdg-compat' )
pkgver='1.6.2'
pkgrel='1'
pkgrel='2'
pkgdesc='An incomplete set of tools to replace xdg-utils'
url='https://git.fleshless.org/sx-open'
arch=( 'x86_64' 'i686' )
@ -26,6 +26,7 @@ package_sx-utils() {
}
package_sx-utils-xdg-compat() {
depends=( 'fake' )
provides=( 'xdg-utils' )
conflicts=( 'xdg-utils' )
@ -35,7 +36,7 @@ package_sx-utils-xdg-compat() {
ln -s sx-open "$pkgdir/usr/bin/xdg-open"
for x in "${_xdg_utils_shim[@]}"; do
ln -s true "$pkgdir/usr/bin/$x"
ln -s fake "$pkgdir/usr/bin/$x"
done
}