mirror of
https://github.com/bertptrs/aur.git
synced 2025-12-27 13:30:31 +01:00
40 lines
1.1 KiB
Bash
40 lines
1.1 KiB
Bash
# Maintainer: Alastair Pharo <asppsa at gmail dot com>
|
|
# Contributor: Felix Morgner <felix.morgner@gmail.com>
|
|
# Contributor: Vlad M. <vlad@archlinux.net>
|
|
# Contributor: Mario Rodas
|
|
# Contributor: Oozyslug <oozyslug at gmail dot com>
|
|
# Contributor: koral <koral at mailoo dot org>
|
|
# Contributor: Anders Bennehag
|
|
|
|
pkgname=nix
|
|
pkgver=2.2.2
|
|
pkgrel=3
|
|
pkgdesc="A purely functional package manager"
|
|
arch=('i686' 'x86_64' 'armv7h')
|
|
url="https://nixos.org/nix"
|
|
license=('LGPL')
|
|
depends=('gc' 'libsodium' 'boost' 'brotli' 'editline' 'archlinux-nix')
|
|
makedepends=('bzip2' 'openssl')
|
|
install=nix.install
|
|
source=("https://nixos.org/releases/nix/nix-$pkgver/nix-$pkgver.tar.xz")
|
|
sha256sums=('f80a1b4f9837a8d33209f0b7769d5038335459ff4303eccf3e9217a9eca8594c')
|
|
|
|
prepare() {
|
|
cd "$pkgname-$pkgver"
|
|
}
|
|
|
|
build () {
|
|
cd "$pkgname-$pkgver"
|
|
./configure --prefix=/usr \
|
|
--libexecdir="/usr/lib/$pkgname" \
|
|
--sysconfdir=/etc \
|
|
--enable-gc
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$pkgname-$pkgver"
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
}
|