diff options
author | Johannes Frankenau | 2023-06-27 12:54:08 +0200 |
---|---|---|
committer | Johannes Frankenau | 2023-06-27 12:54:08 +0200 |
commit | 94d877114af79413f50950f3d7ca641851410b49 (patch) | |
tree | f41db9cf0ea0c3c4f25162262409c3564c3040f9 /PKGBUILD | |
parent | 0529a7bbe22965637523cf9569f3c35832381833 (diff) | |
download | aur-94d877114af79413f50950f3d7ca641851410b49.tar.gz |
Provide and conflict with xdg-utils
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 3 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgname=xdg-utils-no-open _pkgname=xdg-utils pkgver=1.1.2 -pkgrel=1 +pkgrel=2 pkgdesc="Command line tools that assist applications with a variety of desktop integration tasks" arch=('any') url="http://www.freedesktop.org/wiki/Software/xdg-utils/" @@ -9,18 +9,11 @@ license=('MIT') depends=('sh' 'xorg-xset') # xset needed inside xdg-screensaver makedepends=('docbook-xsl' 'lynx' 'xmlto' 'git') optdepends=('linopen: for xdg-open support') +provides=('xdg-utils') +conflicts=('xdg-utils') source=(https://portland.freedesktop.org/download/$_pkgname-$pkgver.tar.gz) sha1sums=('20cd4cc5cfaa904b12abf6d584deb568367f4d83') -# Set this 1 to conflict with xdg-utils so you can -# go without xdg-open for whatever reason -PROVIDE_XDG_OPEN=0 - -if [ $PROVIDE_XDG_OPEN -eq 1 ]; then - provides=('xdg-utils') - conflicts=('xdg-utils') -fi - prepare(){ cd $_pkgname-$pkgver/scripts sed -i -e '20 h' -e '20 d' -e '23 c \ xdg-settings\n# xdg-open' Makefile.in |