summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnatol Pomozov2015-06-17 08:44:59 -0700
committerAnatol Pomozov2015-06-17 08:44:59 -0700
commit38cea0251c152a0677c09f0f8541ae3ecc0f25cb (patch)
treec47dec5b50217d78238ec185530d45240f42774d
downloadaur-38cea0251c152a0677c09f0f8541ae3ecc0f25cb.tar.gz
Initial import
-rw-r--r--.SRCINFO17
-rw-r--r--PKGBUILD30
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dce8ed1bc0b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,17 @@
+pkgbase = dtc-git
+ pkgdesc = Device Tree Compiler
+ pkgver = 1.4.1.r2.gaa71961
+ pkgrel = 1
+ url = http://jdl.com/software/
+ arch = i686
+ arch = x86_64
+ license = GPL2
+ makedepends = git
+ provides = dtc
+ conflicts = dtc
+ replaces = dtc
+ source = git://git.kernel.org/pub/scm/utils/dtc/dtc.git
+ md5sums = SKIP
+
+pkgname = dtc-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..0fe406a86b8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,30 @@
+# For ArchLinux by Joel Porquet
+
+pkgname=dtc-git
+pkgrel=1
+pkgver=1.4.1.r2.gaa71961
+pkgdesc='Device Tree Compiler'
+arch=(i686 x86_64)
+license=(GPL2)
+makedepends=(git)
+conflicts=(dtc)
+replaces=(dtc)
+provides=(dtc)
+url='http://jdl.com/software/'
+source=(git://git.kernel.org/pub/scm/utils/dtc/dtc.git)
+md5sums=('SKIP')
+
+pkgver() {
+ cd dtc
+ git describe --long | sed -r 's/^v//;s/([^-]*-g)/r\1/;s/-/./g'
+}
+
+build() {
+ cd dtc
+ make
+}
+
+package() {
+ cd dtc
+ make DESTDIR="$pkgdir" PREFIX=/usr install
+}