X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FAUR.git;a=blobdiff_plain;f=PKGBUILD;h=faea9dbf4c22588a22bdd9207ab04f953be7ad41;hp=f38e9316989d7828ed9dd3a12a4467990275cc20;hb=728f5350afb9ea992bfd0344a2044259285bde3f;hpb=0f98d8f2d540b98712309d963b7022e447f32dc0 diff --git a/PKGBUILD b/PKGBUILD index f38e931..faea9db 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,25 +1,35 @@ -# Maintainer: Vlad M. +# Maintainer: Alastair Pharo +# Contributor: Felix Morgner +# Contributor: Vlad M. # Contributor: Mario Rodas # Contributor: Oozyslug # Contributor: koral +# Contributor: Anders Bennehag pkgname=nix -pkgver=1.11.7 +pkgver=2.2.2 pkgrel=1 pkgdesc="A purely functional package manager" -arch=('i686' 'x86_64') +arch=('i686' 'x86_64' 'armv7h') url="https://nixos.org/nix" license=('LGPL') -depends=('perl-www-curl' 'perl-dbd-sqlite' 'gc' 'libsodium') +depends=('gc' 'libsodium' 'boost' 'brotli' 'editline' 'dash-static') makedepends=('bzip2' 'gc' 'openssl') +install=nix.install source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz") -sha256sums=('1a6fd2a23f5fde614c3937c0d51eff46d28dd30d245a66d34d59b15fd9bb8f2d') +sha256sums=('f80a1b4f9837a8d33209f0b7769d5038335459ff4303eccf3e9217a9eca8594c') + + +prepare() { + cd "$pkgname-$pkgver" +} build () { cd "$pkgname-$pkgver" ./configure --prefix=/usr \ --libexecdir="/usr/lib/$pkgname" \ --sysconfdir=/etc \ + --with-sandbox-shell=/usr/bin/dash-static \ --enable-gc make }