Modify PKGBUILD to use LLVM
update dependencies, pkgname, conflicts, and provides
This commit is contained in:
parent
26f4bf9154
commit
84a2107d79
12
PKGBUILD
12
PKGBUILD
@ -2,23 +2,23 @@
|
||||
# Maintainer: Filipe Laíns (FFY00) <lains@archlinux.org>
|
||||
# Contributor: Mihails Strasunse <public@dicebot.lv>
|
||||
|
||||
pkgname=dtools
|
||||
pkgname=dtools-llvm
|
||||
pkgver=2.103.1
|
||||
pkgrel=1
|
||||
pkgdesc='Ancilliary tools for the D programming language'
|
||||
license=('Boost')
|
||||
groups=('dlang')
|
||||
arch=('x86_64')
|
||||
arch=('any')
|
||||
url='https://www.dlang.org'
|
||||
makedepends=('dmd' 'libphobos')
|
||||
provides=('ddemangle' 'dustmite' 'rdmd')
|
||||
conflicts=('ddemangle' 'dustmite' 'rdmd')
|
||||
makedepends=('ldc' 'liblphobos')
|
||||
provides=('ddemangle' 'dustmite' 'rdmd' "dtools=$pkgver")
|
||||
conflicts=('ddemangle' 'dustmite' 'rdmd' 'dtools')
|
||||
depends=('curl')
|
||||
source=("$pkgname-$pkgver.tar.gz::https://github.com/dlang/tools/archive/v$pkgver.tar.gz")
|
||||
sha512sums=('5e4d535804f64b6d0374c12bf1fb9b64859f31e9ddd260ed73aefb66cbb6fd6cc0e892ac0e91d4ecf0771e817743f2c9cc9eb7b7631437083a799f98d6131eed')
|
||||
|
||||
build() {
|
||||
DMD=dmd
|
||||
DMD=ldc
|
||||
|
||||
# Add $LDFLAGS to the compilation, and remove -flto
|
||||
_linkflags=$(echo -ne $LDFLAGS | cut -d\" -f2 | tail -c+4 | sed -e "s/,/ -L=/g" -e "s/-flto=auto//")
|
||||
|
Loading…
x
Reference in New Issue
Block a user