aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ac47667..7b68c7a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -8,26 +8,23 @@
8 8
9pkgname=nix 9pkgname=nix
10pkgver=2.2.2 10pkgver=2.2.2
11pkgrel=1 11pkgrel=2
12pkgdesc="A purely functional package manager" 12pkgdesc="A purely functional package manager"
13arch=('i686' 'x86_64' 'armv7h') 13arch=('i686' 'x86_64' 'armv7h')
14url="https://nixos.org/nix" 14url="https://nixos.org/nix"
15license=('LGPL') 15license=('LGPL')
16depends=('gc' 'libsodium' 'boost' 'brotli' 'readline') 16depends=('gc' 'libsodium' 'boost' 'brotli' 'editline')
17makedepends=('bzip2' 'gc' 'openssl') 17makedepends=('bzip2' 'openssl')
18install=nix.install 18install=nix.install
19source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz") 19source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz")
20sha256sums=('f80a1b4f9837a8d33209f0b7769d5038335459ff4303eccf3e9217a9eca8594c') 20sha256sums=('f80a1b4f9837a8d33209f0b7769d5038335459ff4303eccf3e9217a9eca8594c')
21 21
22
23prepare() { 22prepare() {
24 cd "$pkgname-$pkgver" 23 cd "$pkgname-$pkgver"
25} 24}
26 25
27build () { 26build () {
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 \