init
This commit is contained in:
commit
0da6e03f6b
19
.SRCINFO
Normal file
19
.SRCINFO
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
pkgbase = sx-utils
|
||||||
|
pkgdesc = An incomplete set of tools to replace xdg-utils
|
||||||
|
pkgver = 1.4
|
||||||
|
pkgrel = 3
|
||||||
|
url = https://git.fleshless.org/sx-open
|
||||||
|
arch = x86_64
|
||||||
|
arch = i686
|
||||||
|
license = ISC
|
||||||
|
depends = bash
|
||||||
|
source = https://git.fleshless.org/sx-open/snapshot/sx-open-1.4.tar.gz
|
||||||
|
sha1sums = 1813f406a960230ef847a2af0ba2c51b8004cee8
|
||||||
|
|
||||||
|
pkgname = sx-open
|
||||||
|
optdepends = sx-utils-xdg-compat: symbolic links for xdg -> sx
|
||||||
|
|
||||||
|
pkgname = sx-utils-xdg-compat
|
||||||
|
provides = xdg-utils
|
||||||
|
conflicts = xdg-utils
|
||||||
|
|
34
PKGBUILD
Normal file
34
PKGBUILD
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
# Maintainer: Jack L. Frost <fbt@fleshless.org>
|
||||||
|
|
||||||
|
pkgbase='sx-utils'
|
||||||
|
pkgname=( 'sx-open' 'sx-utils-xdg-compat' )
|
||||||
|
pkgver='1.4'
|
||||||
|
pkgrel='3'
|
||||||
|
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' )
|
||||||
|
|
||||||
|
source=( "https://git.fleshless.org/sx-open/snapshot/sx-open-${pkgver}.tar.gz" )
|
||||||
|
sha1sums=('1813f406a960230ef847a2af0ba2c51b8004cee8')
|
||||||
|
|
||||||
|
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"
|
||||||
|
}
|
||||||
|
|
||||||
|
# vim: noet
|
Loading…
Reference in New Issue
Block a user