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

Felix Yan felixonmars at archlinux.org
Mon Nov 4 02:20:30 UTC 2019


    Date: Monday, November 4, 2019 @ 02:20:18
  Author: felixonmars
Revision: 523000

archrelease: copy trunk to community-staging-x86_64

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

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

Copied: dtc/repos/community-staging-x86_64/PKGBUILD (from rev 522999, dtc/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-11-04 02:20:18 UTC (rev 523000)
@@ -0,0 +1,35 @@
+# Maintainer: Anatol Pomozov
+# Contributor: Frederic Bezies <fredbezies at gmail dot com>
+
+pkgname=dtc
+pkgver=1.5.1
+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=('660b74039690fc37013660544d09191834efb58503c73c555c5513ba75ab031f')
+
+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