summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorM. Shulhan2016-09-06 19:39:43 +0700
committerM. Shulhan2016-09-06 19:39:43 +0700
commitfa66c2946a27ee9eba6816e518ebef9d5c3fb9a6 (patch)
tree51be8cc753e9a423b0d86f0dcb4db22a4c865dd1
parent43ceac9cf4b71c0e19e734e2af0507e2b1745113 (diff)
downloadaur-fa66c2946a27ee9eba6816e518ebef9d5c3fb9a6.tar.gz
Add support for ARM device
Tested with Raspberry PI 2 with Arch Linux ARM. Also, we add gcc, make, fakeroot, and git as dependency for make, to automatically install the package without required manual install before it.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD4
2 files changed, 6 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 93ec8b87546..825c3069a68 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,7 +6,11 @@ pkgbase = rescached-git
install = rescached-git.install
arch = i686
arch = x86_64
+ arch = armv7h
license = custom:BSD
+ makedepends = gcc
+ makedepends = make
+ makedepends = fakeroot
makedepends = git
makedepends = asciidoc
depends = gcc-libs
diff --git a/PKGBUILD b/PKGBUILD
index 0ecaec7a30d..0320d98e448 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@ pkgname=rescached-git
pkgver=1.2.0.r5.g180e523
pkgrel=1
pkgdesc="Resolver/DNS cache daemon"
-arch=('i686' 'x86_64')
+arch=('i686' 'x86_64' 'armv7h')
url="https://github.com/shuLhan/rescached"
license=('custom:BSD')
@@ -11,7 +11,7 @@ depends=('gcc-libs')
provides=('rescached')
conflicts=('bind' 'nsd' 'pdnsd' 'powerdns' 'unbound')
-makedepends=('git' 'asciidoc')
+makedepends=('gcc' 'make' 'fakeroot' 'git' 'asciidoc')
source=(
"$pkgname::git+https://github.com/shuLhan/rescached.git"
"libvos::git+https://github.com/shuLhan/libvos.git"