[Dev] [ARM] Parabola ARM Port

Aurélien DESBRIÈRES aurelien at hackers.camp
Sun Dec 14 07:55:04 GMT 2014


Kuba Kukielka <kzer-za at cryptolab.net> writes:

> Hello,
>
> Sorry for the late response, had to go somewhere for the entire day.
> Anyway,
>
> Would we modify the PKGBUILD like this?
>
> pkgname=pacman
> pkgver=4.1.2
> pkgrel=7
> pkgdesc="A library-based package manager with dependency support"
> arch=('i686' 'x86_64')
> url="http://www.archlinux.org/pacman/"
> license=('GPL')
> groups=('libre')
> depends=('bash>=4.2.042-2' 'glibc>=2.17-2' 'libarchive>=3.1.2'
> 'curl>=7.19.4'
> 'gpgme' 'pacman-mirrorlist')
> checkdepends=('python2' 'fakechroot')
> optdepends=('fakeroot: for makepkg usage as normal user')
> provides=('pacman-contrib')
> conflicts=('pacman-contrib')
> replaces=('pacman-contrib')
> backup=(etc/pacman.conf etc/makepkg.conf)
> options=('strip' 'debug')
> source=( #link to pacman source
> 0001-pacman-key-compatibility-with-gnupg-2.1.patch
> 0001-Sychronize-filesystem.patch
> pacman.conf
> makepkg.conf)
>
> Sorry, I don't know of any boards, and searching on duckduckgo led to
> nothing.
>
<#secure method=pgpmime mode=sign>

You need 'arm7h' for a working version for armv7

here is a working PKGBUILD example


# $Id$
# Maintainer : Aurelien Desbrieres <aurelien at hackers.camp>
# Contributor: Kyle Keen <keenerd at gmail.com>
# Contributor: Dave Reisner <d at falconindy.com>

pkgname=jansson
pkgver=2.7
pkgrel=1
pkgdesc='C library for encoding, decoding and manipulating JSON data'
arch=('armv7h')
url='http://www.digip.org/jansson/'
depends=('glibc')
license=('MIT')
options=('staticlibs')
source=("http://www.digip.org/$pkgname/releases/$pkgname-$pkgver.tar.bz2")
md5sums=('ffac352f9c5f80a6ae8145d451af2c0e')

build() {
  cd "$srcdir/$pkgname-$pkgver"
    ./configure --prefix=/usr
      make
      }

package() {
  cd "$srcdir/$pkgname-$pkgver"
    make DESTDIR="$pkgdir" install
      install -Dm644 LICENSE
  "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  }
  

-- 
Aurelien Desbrieres
http://www.hackers.camp



More information about the Dev mailing list