summaryrefslogtreecommitdiff
path: root/community/gdc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/gdc/PKGBUILD')
-rw-r--r--community/gdc/PKGBUILD11
1 files changed, 6 insertions, 5 deletions
diff --git a/community/gdc/PKGBUILD b/community/gdc/PKGBUILD
index 31230ed9b..34a1a0d52 100644
--- a/community/gdc/PKGBUILD
+++ b/community/gdc/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=('gdc' 'libgphobos-devel')
pkgver=4.8.1
-pkgrel=2
+pkgrel=6
arch=('i686' 'x86_64')
url="https://github.com/D-Programming-GDC/GDC"
license=('GPL')
@@ -69,9 +69,10 @@ build()
package_gdc()
{
- depends=('libmpc' 'zlib')
+ depends=('gcc' 'binutils')
optdepends=('libgphobos-devel: D standard library, GDC version')
- description="Compiler for D programming language wich uses gcc backend"
+ provides=("d-compiler")
+ pkgdesc="Compiler for D programming language wich uses gcc backend"
install -D -m755 $srcdir/gcc-build/gcc/gdc $pkgdir/usr/bin/gdc
install -D -m755 $srcdir/gcc-build/gcc/cc1d $pkgdir/usr/lib/gcc/$CHOST/4.8.1/cc1d
@@ -79,7 +80,8 @@ package_gdc()
package_libgphobos-devel()
{
- description="Standard library for D programming language, GDC port"
+ pkgdesc="Standard library for D programming language, GDC port"
+ provides=("d-runtime" "d-stdlib")
depends=('gdc')
# druntime
@@ -93,5 +95,4 @@ package_libgphobos-devel()
cp -r $srcdir/gdc/libphobos/src/etc ${pkgdir}/usr/include/dlang/gdc/$pkgver/etc
install -D -m644 $srcdir/gcc-build/$CHOST/libphobos/src/libgphobos2.a $pkgdir/usr/lib/libgphobos2.a
- install -D -m644 $srcdir/gcc-build/$CHOST/libatomic/.libs/libatomic.a $pkgdir/usr/lib/libatomic.a
}