aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD30
2 files changed, 23 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 36eb2bb..214b903 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
1pkgbase = nix 1pkgbase = nix
2 pkgdesc = A purely functional package manager 2 pkgdesc = A purely functional package manager
3 pkgver = 1.9 3 pkgver = 1.10
4 pkgrel = 1 4 pkgrel = 1
5 url = http://nixos.org/ 5 url = https://nixos.org/nix
6 arch = i686 6 arch = i686
7 arch = x86_64 7 arch = x86_64
8 license = LGPL 8 license = LGPL
@@ -11,9 +11,10 @@ pkgbase = nix
11 makedepends = openssl 11 makedepends = openssl
12 depends = perl-www-curl 12 depends = perl-www-curl
13 depends = perl-dbd-sqlite 13 depends = perl-dbd-sqlite
14 depends = perl-dbi 14 depends = gc
15 source = http://nixos.org/releases/nix/nix-1.9/nix-1.9.tar.xz 15 depends = libsodium
16 sha256sums = 8a47cd7c35dfa628a4acfaef387e7451013c61d250bbcf1f38067a7c73f9f3e1 16 source = http://nixos.org/releases/nix/nix-1.10/nix-1.10.tar.xz
17 sha256sums = 5612ca7a549dd1ee20b208123e041aaa95a414a0e8f650ea88c672dc023d10f6
17 18
18pkgname = nix 19pkgname = nix
19 20
diff --git a/PKGBUILD b/PKGBUILD
index 3c55b8d..90d47b5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,30 @@
1# Submitter: oozyslug <oozyslug at gmail dot com> 1# Maintainer: Vlad M. <vlad@archlinux.net>
2# Maintainer: Oozyslug <oozyslug at gmail dot com> 2# Contributor: Mario Rodas
3# Contributor: Oozyslug <oozyslug at gmail dot com>
3# Contributor: koral <koral at mailoo dot org> 4# Contributor: koral <koral at mailoo dot org>
4 5
5pkgname=nix 6pkgname=nix
6pkgver=1.9 7pkgver=1.10
7pkgrel=1 8pkgrel=1
8pkgdesc="A purely functional package manager" 9pkgdesc="A purely functional package manager"
9url="http://nixos.org/"
10arch=('i686' 'x86_64') 10arch=('i686' 'x86_64')
11url="https://nixos.org/nix"
11license=('LGPL') 12license=('LGPL')
12depends=('perl-www-curl' 'perl-dbd-sqlite' 'perl-dbi') 13depends=('perl-www-curl' 'perl-dbd-sqlite' 'gc' 'libsodium')
13makedepends=('bzip2' 'gc' 'openssl') 14makedepends=('bzip2' 'gc' 'openssl')
14source=(http://nixos.org/releases/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz) 15source=("http://nixos.org/releases/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz")
15sha256sums=('8a47cd7c35dfa628a4acfaef387e7451013c61d250bbcf1f38067a7c73f9f3e1') 16sha256sums=('5612ca7a549dd1ee20b208123e041aaa95a414a0e8f650ea88c672dc023d10f6')
16 17
17build() { 18build () {
18 cd ${srcdir}/${pkgname}-${pkgver} 19 cd "$pkgname-$pkgver"
19 ./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} --sysconfdir=/etc --enable-gc 20 ./configure --prefix=/usr \
20 make 21 --libexecdir="/usr/lib/$pkgname" \
22 --sysconfdir=/etc \
23 --enable-gc
24 make
21} 25}
22 26
23package() { 27package() {
24 cd ${srcdir}/${pkgname}-${pkgver} 28 cd "$pkgname-$pkgver"
25 make DESTDIR=${pkgdir} install 29 make DESTDIR="$pkgdir" install
26} 30}