diff options
author | koral <koral@mailoo.org> | 2015-06-17 10:18:38 +0200 |
---|---|---|
committer | koral <koral@mailoo.org> | 2015-06-17 10:18:38 +0200 |
commit | 8b49b75071481b6c0670e1bef03605f8965bafe6 (patch) | |
tree | 330ae5648ba20b6345d679a946967bda75052a58 | |
download | AUR-8b49b75071481b6c0670e1bef03605f8965bafe6.tar.gz AUR-8b49b75071481b6c0670e1bef03605f8965bafe6.tar.zst AUR-8b49b75071481b6c0670e1bef03605f8965bafe6.zip |
Initial import
-rw-r--r-- | .SRCINFO | 19 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 0000000..36eb2bb --- /dev/null +++ b/.SRCINFO | |||
@@ -0,0 +1,19 @@ | |||
1 | pkgbase = nix | ||
2 | pkgdesc = A purely functional package manager | ||
3 | pkgver = 1.9 | ||
4 | pkgrel = 1 | ||
5 | url = http://nixos.org/ | ||
6 | arch = i686 | ||
7 | arch = x86_64 | ||
8 | license = LGPL | ||
9 | makedepends = bzip2 | ||
10 | makedepends = gc | ||
11 | makedepends = openssl | ||
12 | depends = perl-www-curl | ||
13 | depends = perl-dbd-sqlite | ||
14 | depends = perl-dbi | ||
15 | source = http://nixos.org/releases/nix/nix-1.9/nix-1.9.tar.xz | ||
16 | sha256sums = 8a47cd7c35dfa628a4acfaef387e7451013c61d250bbcf1f38067a7c73f9f3e1 | ||
17 | |||
18 | pkgname = nix | ||
19 | |||
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 | |||
4 | pkgname=nix | ||
5 | pkgver=1.9 | ||
6 | pkgrel=1 | ||
7 | pkgdesc="A purely functional package manager" | ||
8 | url="http://nixos.org/" | ||
9 | arch=('i686' 'x86_64') | ||
10 | license=('LGPL') | ||
11 | depends=('perl-www-curl' 'perl-dbd-sqlite' 'perl-dbi') | ||
12 | makedepends=('bzip2' 'gc' 'openssl') | ||
13 | source=(http://nixos.org/releases/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz) | ||
14 | sha256sums=('8a47cd7c35dfa628a4acfaef387e7451013c61d250bbcf1f38067a7c73f9f3e1') | ||
15 | |||
16 | build() { | ||
17 | cd ${srcdir}/${pkgname}-${pkgver} | ||
18 | ./configure --prefix=/usr --libexecdir=/usr/lib/${pkgname} --sysconfdir=/etc --enable-gc | ||
19 | make | ||
20 | } | ||
21 | |||
22 | package() { | ||
23 | cd ${srcdir}/${pkgname}-${pkgver} | ||
24 | make DESTDIR=${pkgdir} install | ||
25 | } | ||