summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkoral2015-06-17 10:18:38 +0200
committerkoral2015-06-17 10:18:38 +0200
commit8b49b75071481b6c0670e1bef03605f8965bafe6 (patch)
tree330ae5648ba20b6345d679a946967bda75052a58
downloadaur-8b49b75071481b6c0670e1bef03605f8965bafe6.tar.gz
Initial import
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD25
2 files changed, 44 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..36eb2bbd4a6
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = nix
+ pkgdesc = A purely functional package manager
+ pkgver = 1.9
+ pkgrel = 1
+ url = http://nixos.org/
+ arch = i686
+ arch = x86_64
+ license = LGPL
+ makedepends = bzip2
+ makedepends = gc
+ makedepends = openssl
+ depends = perl-www-curl
+ depends = perl-dbd-sqlite
+ depends = perl-dbi
+ source = http://nixos.org/releases/nix/nix-1.9/nix-1.9.tar.xz
+ sha256sums = 8a47cd7c35dfa628a4acfaef387e7451013c61d250bbcf1f38067a7c73f9f3e1
+
+pkgname = nix
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..b6fd6eb93f0
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Oozyslug <oozyslug@gmail.com>
+# Contributor: Anntoin Wilkinson <anntoin@gmail.com>
+
+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
+}