[arch-commits] Commit in diet-ng/repos (community-x86_64 community-x86_64/PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Sun Sep 9 17:22:57 UTC 2018
Date: Sunday, September 9, 2018 @ 17:22:57
Author: ffy00
Revision: 378918
archrelease: copy trunk to community-x86_64
Added:
diet-ng/repos/community-x86_64/
diet-ng/repos/community-x86_64/PKGBUILD
(from rev 378917, diet-ng/trunk/PKGBUILD)
----------+
PKGBUILD | 41 +++++++++++++++++++++++++++++++++++++++++
1 file changed, 41 insertions(+)
Copied: diet-ng/repos/community-x86_64/PKGBUILD (from rev 378917, diet-ng/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2018-09-09 17:22:57 UTC (rev 378918)
@@ -0,0 +1,41 @@
+# $Id$
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+pkgname=diet-ng
+pkgver=1.5.0
+pkgrel=1
+pkgdesc='Generic compile-time template system based on an XML-like structure for D'
+arch=('x86_64')
+url='https://github.com/rejectedsoftware/diet-ng'
+license=('MIT')
+depends=('liblphobos')
+makedepends=('meson' 'ldc')
+optdepends=('mongodb: MongoDB support')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('ffeedbf50c693dc4d9df04070d9528cec173e6351e542ef0ce411845b595713f071f0af7c97517af566a251f37bf43c065340ce39a9d6c0606555dd67536f961')
+
+build() {
+ mkdir -p $pkgname-$pkgver/build
+ cd $pkgname-$pkgver/build
+
+ export DC=ldc
+
+ arch-meson ..
+
+ ninja
+}
+
+check() {
+ cd $pkgname-$pkgver/build
+
+ ninja test
+}
+
+package() {
+ cd $pkgname-$pkgver/build
+
+ DESTDIR="$pkgdir" ninja install
+
+ install -Dm 644 ../LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
More information about the arch-commits
mailing list