]>
Commit | Line | Data |
---|---|---|
517f4430 | 1 | # Maintainer: Vlad M. <vlad@archlinux.net> |
2 | # Contributor: Mario Rodas | |
3 | # Contributor: Oozyslug <oozyslug at gmail dot com> | |
fabbe369 | 4 | # Contributor: koral <koral at mailoo dot org> |
8b49b750 | 5 | |
6 | pkgname=nix | |
e64c29f8 | 7 | pkgver=1.11.6 |
8b49b750 | 8 | pkgrel=1 |
9 | pkgdesc="A purely functional package manager" | |
8b49b750 | 10 | arch=('i686' 'x86_64') |
517f4430 | 11 | url="https://nixos.org/nix" |
8b49b750 | 12 | license=('LGPL') |
517f4430 | 13 | depends=('perl-www-curl' 'perl-dbd-sqlite' 'gc' 'libsodium') |
8b49b750 | 14 | makedepends=('bzip2' 'gc' 'openssl') |
3b218739 | 15 | source=("https://nixos.org/releases/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz") |
e64c29f8 | 16 | sha256sums=('e729d55a9276756108a56bc1cbe2e182ee2e4be2b59b1c77d5f0e3edd879b2a3') |
8b49b750 | 17 | |
517f4430 | 18 | build () { |
19 | cd "$pkgname-$pkgver" | |
20 | ./configure --prefix=/usr \ | |
21 | --libexecdir="/usr/lib/$pkgname" \ | |
22 | --sysconfdir=/etc \ | |
23 | --enable-gc | |
24 | make | |
8b49b750 | 25 | } |
26 | ||
27 | package() { | |
517f4430 | 28 | cd "$pkgname-$pkgver" |
29 | make DESTDIR="$pkgdir" install | |
8b49b750 | 30 | } |