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

Evangelos Foutras foutrelis at archlinux.org
Tue Nov 10 09:41:07 UTC 2020


    Date: Tuesday, November 10, 2020 @ 09:41:07
  Author: foutrelis
Revision: 749458

archrelease: copy trunk to community-staging-x86_64

Added:
  dtc/repos/community-staging-x86_64/
  dtc/repos/community-staging-x86_64/PKGBUILD
    (from rev 749457, dtc/trunk/PKGBUILD)

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

Copied: dtc/repos/community-staging-x86_64/PKGBUILD (from rev 749457, dtc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-11-10 09:41:07 UTC (rev 749458)
@@ -0,0 +1,35 @@
+# Maintainer: Anatol Pomozov
+# Contributor: Frederic Bezies <fredbezies at gmail dot com>
+
+pkgname=dtc
+pkgver=1.6.0
+pkgrel=2
+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