X-Git-Url: https://git.immae.eu/?p=perso%2FImmae%2FConfig%2FAUR.git;a=blobdiff_plain;f=PKGBUILD;h=faea9dbf4c22588a22bdd9207ab04f953be7ad41;hp=1d51dd1cc46455436ee33542efe78b40238f6e9e;hb=728f5350afb9ea992bfd0344a2044259285bde3f;hpb=e64c29f89f750f447dc984e43b4b63f0ff6e3d67 diff --git a/PKGBUILD b/PKGBUILD index 1d51dd1..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.6 +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') -source=("https://nixos.org/releases/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz") -sha256sums=('e729d55a9276756108a56bc1cbe2e182ee2e4be2b59b1c77d5f0e3edd879b2a3') +install=nix.install +source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz") +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 } @@ -27,4 +37,5 @@ build () { package() { cd "$pkgname-$pkgver" make DESTDIR="$pkgdir" install + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE" }