diff options
author | Alastair Pharo <asppsa@gmail.com> | 2019-05-06 14:36:16 +1000 |
---|---|---|
committer | Alastair Pharo <asppsa@gmail.com> | 2019-05-06 14:36:16 +1000 |
commit | 8d425371679c10323edb4f124e9ad64c9f9e9944 (patch) | |
tree | c54b4bdcd47e97ce7f7ea1113e785a4f6eece270 /PKGBUILD | |
parent | 9fe456c4973729b5d83763dd0a644f830491e740 (diff) | |
download | AUR-8d425371679c10323edb4f124e9ad64c9f9e9944.tar.gz AUR-8d425371679c10323edb4f124e9ad64c9f9e9944.tar.zst AUR-8d425371679c10323edb4f124e9ad64c9f9e9944.zip |
Add editline dependency
Required for nix-repl; see
https://aur.archlinux.org/packages/nix/#comment-692643
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 3 insertions, 6 deletions
@@ -8,26 +8,23 @@ | |||
8 | 8 | ||
9 | pkgname=nix | 9 | pkgname=nix |
10 | pkgver=2.2.2 | 10 | pkgver=2.2.2 |
11 | pkgrel=1 | 11 | pkgrel=2 |
12 | pkgdesc="A purely functional package manager" | 12 | pkgdesc="A purely functional package manager" |
13 | arch=('i686' 'x86_64' 'armv7h') | 13 | arch=('i686' 'x86_64' 'armv7h') |
14 | url="https://nixos.org/nix" | 14 | url="https://nixos.org/nix" |
15 | license=('LGPL') | 15 | license=('LGPL') |
16 | depends=('gc' 'libsodium' 'boost' 'brotli' 'readline') | 16 | depends=('gc' 'libsodium' 'boost' 'brotli' 'editline') |
17 | makedepends=('bzip2' 'gc' 'openssl') | 17 | makedepends=('bzip2' 'openssl') |
18 | install=nix.install | 18 | install=nix.install |
19 | 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") |
20 | sha256sums=('f80a1b4f9837a8d33209f0b7769d5038335459ff4303eccf3e9217a9eca8594c') | 20 | sha256sums=('f80a1b4f9837a8d33209f0b7769d5038335459ff4303eccf3e9217a9eca8594c') |
21 | 21 | ||
22 | |||
23 | prepare() { | 22 | prepare() { |
24 | cd "$pkgname-$pkgver" | 23 | cd "$pkgname-$pkgver" |
25 | } | 24 | } |
26 | 25 | ||
27 | build () { | 26 | build () { |
28 | cd "$pkgname-$pkgver" | 27 | cd "$pkgname-$pkgver" |
29 | export EDITLINE_CFLAGS="-DREADLINE" | ||
30 | export EDITLINE_LIBS="/usr/lib/libreadline.so" | ||
31 | ./configure --prefix=/usr \ | 28 | ./configure --prefix=/usr \ |
32 | --libexecdir="/usr/lib/$pkgname" \ | 29 | --libexecdir="/usr/lib/$pkgname" \ |
33 | --sysconfdir=/etc \ | 30 | --sysconfdir=/etc \ |