diff options
author | Anders Bennehag <anders@bennehag.com> | 2019-01-19 09:55:20 -0500 |
---|---|---|
committer | Anders Bennehag <anders@bennehag.com> | 2019-01-19 10:15:36 -0500 |
commit | b3d2371e5522299b774c435c5f0166f5e7329ca4 (patch) | |
tree | ed2c70a1ca42e8f92f47082a89e74d71ce178d10 | |
parent | be00bfe3c552d815361085d77657981702897ce5 (diff) | |
download | AUR-b3d2371e5522299b774c435c5f0166f5e7329ca4.tar.gz AUR-b3d2371e5522299b774c435c5f0166f5e7329ca4.tar.zst AUR-b3d2371e5522299b774c435c5f0166f5e7329ca4.zip |
Updates to 2.2.1 and adds readline dependency
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -4,19 +4,20 @@ | |||
4 | # Contributor: Mario Rodas | 4 | # Contributor: Mario Rodas |
5 | # Contributor: Oozyslug <oozyslug at gmail dot com> | 5 | # Contributor: Oozyslug <oozyslug at gmail dot com> |
6 | # Contributor: koral <koral at mailoo dot org> | 6 | # Contributor: koral <koral at mailoo dot org> |
7 | # Contributor: Anders Bennehag | ||
7 | 8 | ||
8 | pkgname=nix | 9 | pkgname=nix |
9 | pkgver=2.1.3 | 10 | pkgver=2.2.1 |
10 | pkgrel=1 | 11 | pkgrel=1 |
11 | pkgdesc="A purely functional package manager" | 12 | pkgdesc="A purely functional package manager" |
12 | arch=('i686' 'x86_64' 'armv7h') | 13 | arch=('i686' 'x86_64' 'armv7h') |
13 | url="https://nixos.org/nix" | 14 | url="https://nixos.org/nix" |
14 | license=('LGPL') | 15 | license=('LGPL') |
15 | depends=('gc' 'libsodium' 'boost' 'brotli') | 16 | depends=('gc' 'libsodium' 'boost' 'brotli' 'readline') |
16 | makedepends=('bzip2' 'gc' 'openssl') | 17 | makedepends=('bzip2' 'gc' 'openssl') |
17 | install=nix.install | 18 | install=nix.install |
18 | source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz") | 19 | source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz") |
19 | sha256sums=('5d22dad058d5c800d65a115f919da22938c50dd6ba98c5e3a183172d149840a4') | 20 | sha256sums=('85f8d3518060803e44e51b1a9ada1a39cea904b36a632ba1844043a0b63be515') |
20 | 21 | ||
21 | 22 | ||
22 | prepare() { | 23 | prepare() { |
@@ -25,6 +26,8 @@ prepare() { | |||
25 | 26 | ||
26 | build () { | 27 | build () { |
27 | cd "$pkgname-$pkgver" | 28 | cd "$pkgname-$pkgver" |
29 | export EDITLINE_CFLAGS="-DREADLINE" | ||
30 | export EDITLINE_LIBS="/usr/lib/libreadline.so" | ||
28 | ./configure --prefix=/usr \ | 31 | ./configure --prefix=/usr \ |
29 | --libexecdir="/usr/lib/$pkgname" \ | 32 | --libexecdir="/usr/lib/$pkgname" \ |
30 | --sysconfdir=/etc \ | 33 | --sysconfdir=/etc \ |