2015-06-08 09:31:09 +00:00
|
|
|
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
|
|
|
|
|
|
|
pkgbase='sx-utils'
|
|
|
|
pkgname=( 'sx-open' 'sx-utils-xdg-compat' )
|
2018-07-27 03:45:10 +00:00
|
|
|
pkgver='1.5.0'
|
2015-07-19 18:54:30 +00:00
|
|
|
pkgrel='1'
|
2015-06-08 09:31:09 +00:00
|
|
|
pkgdesc='An incomplete set of tools to replace xdg-utils'
|
|
|
|
url='https://git.fleshless.org/sx-open'
|
|
|
|
arch=( 'x86_64' 'i686' )
|
|
|
|
license=( 'ISC' )
|
|
|
|
depends=( 'bash' )
|
|
|
|
|
2017-11-22 23:03:12 +00:00
|
|
|
source=( "https://git.fleshless.org/u/fbt/sx-open/snapshot/sx-open-${pkgver}.tar.gz" )
|
2015-06-08 09:31:09 +00:00
|
|
|
|
|
|
|
package_sx-open() {
|
|
|
|
optdepends=( 'sx-utils-xdg-compat: symbolic links for xdg -> sx' )
|
|
|
|
|
|
|
|
cd "${pkgname}-${pkgver}"
|
|
|
|
|
|
|
|
install -Dm755 sx-open "$pkgdir/usr/bin/sx-open"
|
|
|
|
}
|
|
|
|
|
|
|
|
package_sx-utils-xdg-compat() {
|
|
|
|
provides=( 'xdg-utils' )
|
|
|
|
conflicts=( 'xdg-utils' )
|
|
|
|
|
|
|
|
cd "sx-open-${pkgver}"
|
|
|
|
|
|
|
|
mkdir -pm755 "$pkgdir/usr/bin"
|
|
|
|
ln -s sx-open "$pkgdir/usr/bin/xdg-open"
|
|
|
|
}
|
|
|
|
|
2018-07-27 03:45:10 +00:00
|
|
|
sha1sums=('05794ff0d8b5aab7a23a9f1a118678aaafea9e9f')
|