]> git.immae.eu Git - perso/Immae/Config/AUR.git/commitdiff
update to 1.10
authorvlad <vlad@archlinux.net>
Sun, 6 Sep 2015 16:55:35 +0000 (19:55 +0300)
committervlad <vlad@archlinux.net>
Sun, 6 Sep 2015 16:55:35 +0000 (19:55 +0300)
.SRCINFO
PKGBUILD

index 36eb2bbd4a6c84fddd23106e4c8fdf12ce98a7c7..214b9030682b49372ded25346bb8ac68a6334986 100644 (file)
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
 pkgbase = nix
        pkgdesc = A purely functional package manager
-       pkgver = 1.9
+       pkgver = 1.10
        pkgrel = 1
-       url = http://nixos.org/
+       url = https://nixos.org/nix
        arch = i686
        arch = x86_64
        license = LGPL
@@ -11,9 +11,10 @@ pkgbase = nix
        makedepends = openssl
        depends = perl-www-curl
        depends = perl-dbd-sqlite
-       depends = perl-dbi
-       source = http://nixos.org/releases/nix/nix-1.9/nix-1.9.tar.xz
-       sha256sums = 8a47cd7c35dfa628a4acfaef387e7451013c61d250bbcf1f38067a7c73f9f3e1
+       depends = gc
+       depends = libsodium
+       source = http://nixos.org/releases/nix/nix-1.10/nix-1.10.tar.xz
+       sha256sums = 5612ca7a549dd1ee20b208123e041aaa95a414a0e8f650ea88c672dc023d10f6
 
 pkgname = nix
 
index 3c55b8de4db613425b3a882b0bbb9a3d03328706..90d47b51cd32e364eb0ee8a94f415dafde4e617e 100644 (file)
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,30 @@
-# Submitter: oozyslug <oozyslug at gmail dot com>
-# Maintainer: Oozyslug <oozyslug at gmail dot com>
+# Maintainer: Vlad M. <vlad@archlinux.net>
+# Contributor: Mario Rodas
+# Contributor: Oozyslug <oozyslug at gmail dot com>
 # Contributor: koral <koral at mailoo dot org>
 
 pkgname=nix
-pkgver=1.9
+pkgver=1.10
 pkgrel=1
 pkgdesc="A purely functional package manager"
-url="http://nixos.org/"
 arch=('i686' 'x86_64')
+url="https://nixos.org/nix"
 license=('LGPL')
-depends=('perl-www-curl' 'perl-dbd-sqlite' 'perl-dbi')
+depends=('perl-www-curl' 'perl-dbd-sqlite' 'gc' 'libsodium')
 makedepends=('bzip2' 'gc' 'openssl')
-source=(http://nixos.org/releases/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz)
-sha256sums=('8a47cd7c35dfa628a4acfaef387e7451013c61d250bbcf1f38067a7c73f9f3e1')
+source=("http://nixos.org/releases/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.xz")
+sha256sums=('5612ca7a549dd1ee20b208123e041aaa95a414a0e8f650ea88c672dc023d10f6')
 
-build() {
-    cd ${srcdir}/${pkgname}-${pkgver}
-    ./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} --sysconfdir=/etc --enable-gc
-    make
+build () {
+  cd "$pkgname-$pkgver"
+  ./configure --prefix=/usr \
+              --libexecdir="/usr/lib/$pkgname" \
+              --sysconfdir=/etc \
+              --enable-gc
+  make
 }
 
 package() {
-    cd ${srcdir}/${pkgname}-${pkgver}
-    make DESTDIR=${pkgdir} install
+  cd "$pkgname-$pkgver"
+  make DESTDIR="$pkgdir" install
 }