From 8b49b75071481b6c0670e1bef03605f8965bafe6 Mon Sep 17 00:00:00 2001 From: koral Date: Wed, 17 Jun 2015 10:18:38 +0200 Subject: Initial import --- PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 PKGBUILD (limited to 'PKGBUILD') diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 0000000..b6fd6eb --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Oozyslug +# Contributor: Anntoin Wilkinson + +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 +} -- cgit v1.2.3