aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAnders Bennehag <anders@bennehag.com>2019-01-19 09:55:20 -0500
committerAnders Bennehag <anders@bennehag.com>2019-01-19 10:15:36 -0500
commitb3d2371e5522299b774c435c5f0166f5e7329ca4 (patch)
treeed2c70a1ca42e8f92f47082a89e74d71ce178d10 /PKGBUILD
parentbe00bfe3c552d815361085d77657981702897ce5 (diff)
downloadAUR-b3d2371e5522299b774c435c5f0166f5e7329ca4.tar.gz
AUR-b3d2371e5522299b774c435c5f0166f5e7329ca4.tar.zst
AUR-b3d2371e5522299b774c435c5f0166f5e7329ca4.zip
Updates to 2.2.1 and adds readline dependency
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5716bb8..daa8e74 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
8pkgname=nix 9pkgname=nix
9pkgver=2.1.3 10pkgver=2.2.1
10pkgrel=1 11pkgrel=1
11pkgdesc="A purely functional package manager" 12pkgdesc="A purely functional package manager"
12arch=('i686' 'x86_64' 'armv7h') 13arch=('i686' 'x86_64' 'armv7h')
13url="https://nixos.org/nix" 14url="https://nixos.org/nix"
14license=('LGPL') 15license=('LGPL')
15depends=('gc' 'libsodium' 'boost' 'brotli') 16depends=('gc' 'libsodium' 'boost' 'brotli' 'readline')
16makedepends=('bzip2' 'gc' 'openssl') 17makedepends=('bzip2' 'gc' 'openssl')
17install=nix.install 18install=nix.install
18source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz") 19source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz")
19sha256sums=('5d22dad058d5c800d65a115f919da22938c50dd6ba98c5e3a183172d149840a4') 20sha256sums=('85f8d3518060803e44e51b1a9ada1a39cea904b36a632ba1844043a0b63be515')
20 21
21 22
22prepare() { 23prepare() {
@@ -25,6 +26,8 @@ prepare() {
25 26
26build () { 27build () {
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 \