From 123ac2329f8e221695ad4300e5510f69915393df Mon Sep 17 00:00:00 2001 From: Tasos Sahanidis Date: Fri, 19 Apr 2024 23:04:24 +0300 Subject: build-support: Add gdmd-git to bootstrap ldc --- build-support/gdmd-git/PKGBUILD | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 build-support/gdmd-git/PKGBUILD (limited to 'build-support/gdmd-git') diff --git a/build-support/gdmd-git/PKGBUILD b/build-support/gdmd-git/PKGBUILD new file mode 100644 index 00000000..653ec498 --- /dev/null +++ b/build-support/gdmd-git/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Vladimir Panteleev +# https://aur.archlinux.org/packages/gdmd-git + +pkgname=gdmd-git +pkgver=r31.1a4bcb2 +pkgrel=1 +pkgdesc="DMD-like wrapper for GDC" +arch=('any') +url="https://github.com/D-Programming-GDC/gdmd" +license=('GPL') +provides=('gdmd') +conflicts=('gdmd') +depends=('perl' 'gcc-d') +makedepends=('git') +source=("git+https://github.com/D-Programming-GDC/GDMD.git") +md5sums=('SKIP') + +pkgver() { + cd "$srcdir/GDMD" + printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)" +} + +package() { + cd "$srcdir/GDMD" + mkdir -p "$pkgdir"/usr/{bin,share/man/man1} + make install prefix=/usr DESTDIR="$pkgdir" +} -- cgit v1.2.3-70-g09d2