aboutsummaryrefslogtreecommitdiff
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 0000000..b6fd6eb
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
1# Maintainer: Oozyslug <oozyslug@gmail.com>
2# Contributor: Anntoin Wilkinson <anntoin@gmail.com>
3
4pkgname=nix
5pkgver=1.9
6pkgrel=1
7pkgdesc="A purely functional package manager"
8url="http://nixos.org/"
9arch=('i686' 'x86_64')
10license=('LGPL')
11depends=('perl-www-curl' 'perl-dbd-sqlite' 'perl-dbi')
12makedepends=('bzip2' 'gc' 'openssl')
13source=(http://nixos.org/releases/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz)
14sha256sums=('8a47cd7c35dfa628a4acfaef387e7451013c61d250bbcf1f38067a7c73f9f3e1')
15
16build() {
17 cd ${srcdir}/${pkgname}-${pkgver}
18 ./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} --sysconfdir=/etc --enable-gc
19 make
20}
21
22package() {
23 cd ${srcdir}/${pkgname}-${pkgver}
24 make DESTDIR=${pkgdir} install
25}