diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -4,7 +4,7 @@ | |||
4 | # Contributor: koral <koral at mailoo dot org> | 4 | # Contributor: koral <koral at mailoo dot org> |
5 | 5 | ||
6 | pkgname=nix | 6 | pkgname=nix |
7 | pkgver=1.11.10 | 7 | pkgver=1.11.16 |
8 | pkgrel=1 | 8 | pkgrel=1 |
9 | pkgdesc="A purely functional package manager" | 9 | pkgdesc="A purely functional package manager" |
10 | arch=('i686' 'x86_64') | 10 | arch=('i686' 'x86_64') |
@@ -12,8 +12,15 @@ url="https://nixos.org/nix" | |||
12 | license=('LGPL') | 12 | license=('LGPL') |
13 | depends=('perl-www-curl' 'perl-dbd-sqlite' 'gc' 'libsodium') | 13 | depends=('perl-www-curl' 'perl-dbd-sqlite' 'gc' 'libsodium') |
14 | makedepends=('bzip2' 'gc' 'openssl') | 14 | makedepends=('bzip2' 'gc' 'openssl') |
15 | source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz") | 15 | install=nix.install |
16 | sha256sums=('b29a458c2b803bcc07d8b58cd016ca6ad0788a73ca74edaeaebc588961322467') | 16 | source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz" "fix_perllibdir.patch") |
17 | sha256sums=('0ca5782fc37d62238d13a620a7b4bff6a200bab1bd63003709249a776162357c' | ||
18 | '6d5a79602944b560f9b571c8db4efa1b26d4495e6160c5e18c2efbdd2e611c80') | ||
19 | |||
20 | prepare() { | ||
21 | cd "$pkgname-$pkgver" | ||
22 | patch -Np1 -i "${srcdir}/fix_perllibdir.patch" | ||
23 | } | ||
17 | 24 | ||
18 | build () { | 25 | build () { |
19 | cd "$pkgname-$pkgver" | 26 | cd "$pkgname-$pkgver" |