X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;ds=sidebyside;f=PKGBUILD;h=faea9dbf4c22588a22bdd9207ab04f953be7ad41;hb=728f5350afb9ea992bfd0344a2044259285bde3f;hp=90d47b51cd32e364eb0ee8a94f415dafde4e617e;hpb=517f443057dcef2846be7e1f3574cbde45096e47;p=perso%2FImmae%2FConfig%2FAUR.git diff --git a/PKGBUILD b/PKGBUILD index 90d47b5..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.10 +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=("http://nixos.org/releases/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz") -sha256sums=('5612ca7a549dd1ee20b208123e041aaa95a414a0e8f650ea88c672dc023d10f6') +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" }