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