[arch-commits] Commit in darts/repos (community-x86_64 community-x86_64/PKGBUILD)

Felix Yan felixonmars at archlinux.org
Thu Mar 4 12:35:10 UTC 2021


    Date: Thursday, March 4, 2021 @ 12:35:10
  Author: felixonmars
Revision: 880282

archrelease: copy trunk to community-x86_64

Added:
  darts/repos/community-x86_64/
  darts/repos/community-x86_64/PKGBUILD
    (from rev 880280, darts/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: darts/repos/community-x86_64/PKGBUILD (from rev 880280, darts/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-03-04 12:35:10 UTC (rev 880282)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=darts
+pkgver=0.32
+pkgrel=1
+pkgdesc="C++ Template Library for implementation of Double-Array"
+arch=('x86_64')
+url="http://chasen.org/~taku/software/darts/"
+license=('BSD' 'LGPL')
+depends=('gcc-libs')
+source=("http://chasen.org/~taku/software/darts/src/darts-$pkgver.tar.gz")
+sha256sums=('0dfc0b82f0a05d93b92acf849368e54bf93f1de8ffb31ba0a21e45ab9e269285')
+
+build() {
+  cd darts-$pkgver
+  ./configure --prefix=/usr --libexecdir=/usr/lib
+  make
+}
+
+check() {
+  cd darts-$pkgver
+  make check
+}
+
+package() {
+  cd darts-$pkgver
+  make DESTDIR="$pkgdir" install
+
+  install -Dm644 COPYING BSD -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list