diff options
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 \ |