[arch-commits] Commit in dtc/repos (2 files)

Anatol Pomozov anatolik at archlinux.org
Thu Mar 5 17:44:58 UTC 2020


    Date: Thursday, March 5, 2020 @ 17:44:58
  Author: anatolik
Revision: 590809

archrelease: copy trunk to community-testing-x86_64

Added:
  dtc/repos/community-testing-x86_64/
  dtc/repos/community-testing-x86_64/PKGBUILD
    (from rev 590808, dtc/trunk/PKGBUILD)

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

Copied: dtc/repos/community-testing-x86_64/PKGBUILD (from rev 590808, dtc/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2020-03-05 17:44:58 UTC (rev 590809)
@@ -0,0 +1,35 @@
+# Maintainer: Anatol Pomozov
+# Contributor: Frederic Bezies <fredbezies at gmail dot com>
+
+pkgname=dtc
+pkgver=1.6.0
+pkgrel=1
+pkgdesc='Device Tree Compiler'
+url='https://www.devicetree.org/'
+arch=(x86_64)
+license=(GPL2)
+makedepends=(swig python)
+checkdepends=(valgrind)
+source=(https://www.kernel.org/pub/software/utils/dtc/dtc-$pkgver.tar.xz)
+sha256sums=('10503b0217e1b07933e29e8d347a00015b2431bea5f59afe0bed3af30340c82d')
+
+prepare() {
+  cd dtc-$pkgver
+  sed -i 's/-Werror//' Makefile
+}
+
+build() {
+  cd dtc-$pkgver
+  make
+}
+
+check() {
+  cd dtc-$pkgver
+  make check
+}
+
+package() {
+  cd dtc-$pkgver
+  DESTDIR="$pkgdir" make SETUP_PREFIX="$pkgdir/usr" PREFIX="$pkgdir/usr" install
+}
+



More information about the arch-commits mailing list