[arch-commits] Commit in gdc/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Wed Aug 29 23:35:28 UTC 2018
Date: Wednesday, August 29, 2018 @ 23:35:28
Author: ffy00
Revision: 375406
fix _d_ver
Modified:
gdc/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-08-29 23:35:23 UTC (rev 375405)
+++ PKGBUILD 2018-08-29 23:35:28 UTC (rev 375406)
@@ -9,12 +9,12 @@
pkgbase=gdc
pkgname=('gdc' 'libgphobos')
-pkgver=8.2.0+2.068.2
+pkgver=8.2.0
_branch=gdc-8-stable
_islver=0.19
_gccver=8.2.0-RC-20180719
_d_ver=''
-pkgrel=2
+pkgrel=1
arch=('x86_64')
license=('GPL3')
url="https://github.com/D-Programming-GDC/GDC"
@@ -99,10 +99,10 @@
--enable-default-pie \
--enable-default-ssp \
--with-bugurl=https://bugs.archlinux.org/ \
- --with-pkgversion="GDC ${pkgver%+*} based on D v$_d_ver built with ISL $_isl for Arch Linux" \
+ --with-pkgversion="GDC ${pkgver%+*} based on D v${pkgver#*+} built with ISL $_isl for Arch Linux" \
gdc_include_dir=/usr/include/dlang/gdc
- #--enable-gold \
+ #--enable-gold \
make
@@ -130,9 +130,4 @@
cd "$srcdir"/gcc-build
make -C $CHOST/libphobos DESTDIR="$pkgdir" install
-
- if [ -d "$pkgdir"/usr/lib64 ]; then
- mv "$pkgdir"/usr/lib64/* "$pkgdir"/usr/lib
- rmdir "$pkgdir"/usr/lib64
- fi
}
More information about the arch-commits
mailing list