1.6.2
Signed-off-by: fbt <fbt@fleshless.org>
This commit is contained in:
parent
44be036c7b
commit
367edbf60e
12
PKGBUILD
12
PKGBUILD
|
@ -2,7 +2,7 @@
|
|||
|
||||
pkgbase='sx-utils'
|
||||
pkgname=( 'sx-utils' 'sx-utils-xdg-compat' )
|
||||
pkgver='1.6.0'
|
||||
pkgver='1.6.2'
|
||||
pkgrel='1'
|
||||
pkgdesc='An incomplete set of tools to replace xdg-utils'
|
||||
url='https://git.fleshless.org/sx-open'
|
||||
|
@ -13,6 +13,10 @@ replaces=( 'sx-open' )
|
|||
|
||||
source=( "https://git.fleshless.org/u/fbt/sx-open/snapshot/sx-open-${pkgver}.tar.gz" )
|
||||
|
||||
_xdg_utils_shim=(
|
||||
xdg-{desktop-icon,desktop-menu,email,icon-resource,mime,screensaver,settings}
|
||||
)
|
||||
|
||||
package_sx-utils() {
|
||||
optdepends=( 'sx-utils-xdg-compat: symbolic links for xdg -> sx' )
|
||||
|
||||
|
@ -29,6 +33,10 @@ package_sx-utils-xdg-compat() {
|
|||
|
||||
mkdir -pm755 "$pkgdir/usr/bin"
|
||||
ln -s sx-open "$pkgdir/usr/bin/xdg-open"
|
||||
|
||||
for x in "${_xdg_utils_shim[@]}"; do
|
||||
ln -s true "$pkgdir/usr/bin/$x"
|
||||
done
|
||||
}
|
||||
|
||||
sha1sums=('0cf8f579f830bb96024d243465f9e7146f21e403')
|
||||
sha1sums=('8993c628fa1cc7fd51b4ce68f820211f0d71a533')
|
||||
|
|
Loading…
Reference in New Issue
Block a user