From f1f98b97552c5691d3299f75285305cc4f20b31c Mon Sep 17 00:00:00 2001 From: Omar Vega Ramos Date: Wed, 23 Sep 2015 00:52:32 -0500 Subject: pacman: armv7h port --- libre/pacman/PKGBUILD | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'libre/pacman/PKGBUILD') diff --git a/libre/pacman/PKGBUILD b/libre/pacman/PKGBUILD index 70d2de513..21e10ceae 100644 --- a/libre/pacman/PKGBUILD +++ b/libre/pacman/PKGBUILD @@ -12,7 +12,7 @@ pkgname=pacman pkgver=4.2.1 pkgrel=2.parabola2 pkgdesc="A library-based package manager with dependency support" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'armv7h') url="http://www.archlinux.org/pacman/" license=('GPL') groups=('base' 'base-devel') @@ -29,7 +29,7 @@ backup=('etc/pacman.conf' 'etc/makepkg.conf') options=('strip' 'debug') source=(https://sources.archlinux.org/other/pacman/$pkgname-$pkgver.tar.gz{,.sig} ensure-matching-database-and-package-version.patch - $pkgname.conf.{i686,x86_64} + $pkgname.conf.{i686,x86_64,armv7h} makepkg.conf $pkgname-keyring.service $pkgname-keyring.timer @@ -39,6 +39,7 @@ md5sums=('2a596fc8f723e99660c0869a74afcf47' 'e8f72afe6f417d11bd36ada042744fe4' '9c1454e48b2216b23f931e04d6dab1ee' '7279d086428df483fd60c33f7c88cf3e' + '9c1454e48b2216b23f931e04d6dab1ee' 'ce525a9af50f1d9b824806d2e5a4f0c8' '11a5fac02651041e44d65d66c3538030' '7fb448e0d2b5b22da5ddc0040378efb0' @@ -90,6 +91,11 @@ package() { mychost="x86_64-unknown-linux-gnu" myflags="-march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4" ;; + armv7h) + mycarch="armv7h" + mychost="armv7l-unknown-linux-gnueabihf" + myflags="-march=armv7-a -mfloat-abi=hard -mfpu=vfpv3-d16 -O2 -pipe -fstack-protector --param=ssp-buffer-size=4" + ;; esac myldflags="-Wl,-O1,--sort-common,--as-needed,-z,relro,--hash-style=gnu" -- cgit v1.2.3-54-g00ecf