aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
blob: 3c55b8de4db613425b3a882b0bbb9a3d03328706 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Submitter: oozyslug <oozyslug at gmail dot com>
# Maintainer: Oozyslug <oozyslug at gmail dot com>
# Contributor: koral <koral at mailoo dot org>

pkgname=nix
pkgver=1.9
pkgrel=1
pkgdesc="A purely functional package manager"
url="http://nixos.org/"
arch=('i686' 'x86_64')
license=('LGPL')
depends=('perl-www-curl' 'perl-dbd-sqlite' 'perl-dbi')
makedepends=('bzip2' 'gc' 'openssl')
source=(http://nixos.org/releases/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz)
sha256sums=('8a47cd7c35dfa628a4acfaef387e7451013c61d250bbcf1f38067a7c73f9f3e1')

build() {
    cd ${srcdir}/${pkgname}-${pkgver}
    ./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} --sysconfdir=/etc --enable-gc
    make
}

package() {
    cd ${srcdir}/${pkgname}-${pkgver}
    make DESTDIR=${pkgdir} install
}