Date: Sunday, July 24, 2022 @ 14:40:59 Author: wild Revision: 1255946
archrelease: copy trunk to community-x86_64 Added: mustache-d/repos/community-x86_64/PKGBUILD (from rev 1255944, mustache-d/trunk/PKGBUILD) Deleted: mustache-d/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 74 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-24 14:40:58 UTC (rev 1255945) +++ PKGBUILD 2022-07-24 14:40:59 UTC (rev 1255946) @@ -1,37 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> - -pkgname=mustache-d -pkgver=0.1.5 -pkgrel=6 -pkgdesc='Moustache template engine for D' -arch=('x86_64') -url='https://github.com/repeatedly/mustache-d' -license=('Boost') -makedepends=('meson' 'ldc' 'liblphobos') -source=("$pkgname-$pkgver::https://github.com/repeatedly/mustache-d/archive/v$pkgver.tar.gz") -sha512sums=('f6a84e69c5345ebe1c8aae3e6a214fd0b57055180f8c689468decab9d4e3cb92d88b1ca51b918eaec2134e2f7f86a17a69b07dfa58783286a66286fefa206eec') - -prepare() { - mkdir -p build - - cd "$srcdir"/$pkgname-$pkgver - # Fixes 'ERROR: Got unknown keyword arguments "soversion", "version"' - sed -i "/install: true/{n;N;d}" meson.build -} - -build() { - cd build - - # Build with LDC - export DC=ldc - - arch-meson ../$pkgname-$pkgver - - ninja -} - -package() { - cd build - - DESTDIR="$pkgdir" ninja install -} Copied: mustache-d/repos/community-x86_64/PKGBUILD (from rev 1255944, mustache-d/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-24 14:40:59 UTC (rev 1255946) @@ -0,0 +1,37 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> + +pkgname=mustache-d +pkgver=0.1.5 +pkgrel=7 +pkgdesc='Moustache template engine for D' +arch=('x86_64') +url='https://github.com/repeatedly/mustache-d' +license=('Boost') +makedepends=('meson' 'ldc' 'liblphobos') +source=("$pkgname-$pkgver::https://github.com/repeatedly/mustache-d/archive/v$pkgver.tar.gz") +sha512sums=('f6a84e69c5345ebe1c8aae3e6a214fd0b57055180f8c689468decab9d4e3cb92d88b1ca51b918eaec2134e2f7f86a17a69b07dfa58783286a66286fefa206eec') + +prepare() { + mkdir -p build + + cd "$srcdir"/$pkgname-$pkgver + # Fixes 'ERROR: Got unknown keyword arguments "soversion", "version"' + sed -i "/install: true/{n;N;d}" meson.build +} + +build() { + cd build + + # Build with LDC + export DC=ldc + + arch-meson ../$pkgname-$pkgver + + ninja +} + +package() { + cd build + + DESTDIR="$pkgdir" ninja install +}