add provides/conflicts on the main tools
This commit is contained in:
parent
f4f40d8766
commit
f75976df12
10
PKGBUILD
10
PKGBUILD
@ -6,13 +6,15 @@ pkgname=dtools
|
|||||||
pkgver=2.085.0
|
pkgver=2.085.0
|
||||||
pkgrel=1
|
pkgrel=1
|
||||||
# Build date format is "mmm dd yyyy"
|
# Build date format is "mmm dd yyyy"
|
||||||
_builddate="Mar 17 2019"
|
_builddate='Mar 17 2019'
|
||||||
pkgdesc="Ancilliary tools for the D programming language"
|
pkgdesc='Ancilliary tools for the D programming language'
|
||||||
license=('Boost')
|
license=('Boost')
|
||||||
groups=('dlang')
|
groups=('dlang')
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
url="http://www.dlang.org"
|
url='https://www.dlang.org'
|
||||||
makedepends=('dmd' 'libphobos')
|
makedepends=('dmd' 'libphobos')
|
||||||
|
provides=('ddemangle' 'dustmite' 'rdmd')
|
||||||
|
conflicts=('ddemangle' 'dustmite' 'rdmd')
|
||||||
depends=('curl')
|
depends=('curl')
|
||||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/dlang/tools/archive/v$pkgver.tar.gz"
|
source=("$pkgname-$pkgver.tar.gz::https://github.com/dlang/tools/archive/v$pkgver.tar.gz"
|
||||||
'http://www.boost.org/LICENSE_1_0.txt'
|
'http://www.boost.org/LICENSE_1_0.txt'
|
||||||
@ -29,7 +31,7 @@ build() {
|
|||||||
|
|
||||||
cd tools-$pkgver
|
cd tools-$pkgver
|
||||||
|
|
||||||
sed -i "s/__DATE__/\"$_builddate\"/" rdmd.d
|
sed -i "s/__DATE__/\"$_builddate\"/" rdmd.d
|
||||||
|
|
||||||
# rdmd is used to build others
|
# rdmd is used to build others
|
||||||
$DMD -od. -ofdtools-rdmd $_linkflags rdmd.d
|
$DMD -od. -ofdtools-rdmd $_linkflags rdmd.d
|
||||||
|
Loading…
x
Reference in New Issue
Block a user