diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 17 insertions, 13 deletions
@@ -1,26 +1,30 @@ | |||
1 | # Submitter: oozyslug <oozyslug at gmail dot com> | 1 | # Maintainer: Vlad M. <vlad@archlinux.net> |
2 | # Maintainer: Oozyslug <oozyslug at gmail dot com> | 2 | # Contributor: Mario Rodas |
3 | # Contributor: Oozyslug <oozyslug at gmail dot com> | ||
3 | # Contributor: koral <koral at mailoo dot org> | 4 | # Contributor: koral <koral at mailoo dot org> |
4 | 5 | ||
5 | pkgname=nix | 6 | pkgname=nix |
6 | pkgver=1.9 | 7 | pkgver=1.10 |
7 | pkgrel=1 | 8 | pkgrel=1 |
8 | pkgdesc="A purely functional package manager" | 9 | pkgdesc="A purely functional package manager" |
9 | url="http://nixos.org/" | ||
10 | arch=('i686' 'x86_64') | 10 | arch=('i686' 'x86_64') |
11 | url="https://nixos.org/nix" | ||
11 | license=('LGPL') | 12 | license=('LGPL') |
12 | depends=('perl-www-curl' 'perl-dbd-sqlite' 'perl-dbi') | 13 | depends=('perl-www-curl' 'perl-dbd-sqlite' 'gc' 'libsodium') |
13 | makedepends=('bzip2' 'gc' 'openssl') | 14 | makedepends=('bzip2' 'gc' 'openssl') |
14 | source=(http://nixos.org/releases/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz) | 15 | source=("http://nixos.org/releases/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz") |
15 | sha256sums=('8a47cd7c35dfa628a4acfaef387e7451013c61d250bbcf1f38067a7c73f9f3e1') | 16 | sha256sums=('5612ca7a549dd1ee20b208123e041aaa95a414a0e8f650ea88c672dc023d10f6') |
16 | 17 | ||
17 | build() { | 18 | build () { |
18 | cd ${srcdir}/${pkgname}-${pkgver} | 19 | cd "$pkgname-$pkgver" |
19 | ./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} --sysconfdir=/etc --enable-gc | 20 | ./configure --prefix=/usr \ |
20 | make | 21 | --libexecdir="/usr/lib/$pkgname" \ |
22 | --sysconfdir=/etc \ | ||
23 | --enable-gc | ||
24 | make | ||
21 | } | 25 | } |
22 | 26 | ||
23 | package() { | 27 | package() { |
24 | cd ${srcdir}/${pkgname}-${pkgver} | 28 | cd "$pkgname-$pkgver" |
25 | make DESTDIR=${pkgdir} install | 29 | make DESTDIR="$pkgdir" install |
26 | } | 30 | } |