summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMassimiliano Torromeo2016-12-02 15:07:59 +0100
committerMassimiliano Torromeo2016-12-02 15:07:59 +0100
commitb56a2c2a5c2ddcc898aa8394db5422ecc606d721 (patch)
tree7a5e32963605c0eeb571d2220b3145a54b9a69bc
downloadaur-b56a2c2a5c2ddcc898aa8394db5422ecc606d721.tar.gz
Initial commit
-rw-r--r--.SRCINFO39
-rw-r--r--.gitignore17
-rw-r--r--PKGBUILD55
3 files changed, 111 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..0118fa48ad0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,39 @@
+# Generated by mksrcinfo v8
+# Fri Dec 2 14:07:33 UTC 2016
+pkgbase = vagrant-libvirt
+ pkgdesc = libvirt provider plugin for Vagrant
+ pkgver = 0.0.36
+ pkgrel = 1
+ url = https://github.com/vagrant-libvirt/vagrant-libvirt
+ arch = i686
+ arch = x86_64
+ license = MIT
+ depends = vagrant
+ depends = libvirt
+ noextract = formatador-0.2.5.gem
+ noextract = excon-0.54.0.gem
+ noextract = fog-xml-0.1.2.gem
+ noextract = fog-json-1.0.2.gem
+ noextract = fog-libvirt-0.3.0.gem
+ noextract = fog-core-1.43.0.gem
+ noextract = ruby-libvirt-0.7.0.gem
+ noextract = vagrant-libvirt-0.0.36.gem
+ source = https://rubygems.org/downloads/vagrant-libvirt-0.0.36.gem
+ source = https://rubygems.org/downloads/ruby-libvirt-0.7.0.gem
+ source = https://rubygems.org/downloads/fog-core-1.43.0.gem
+ source = https://rubygems.org/downloads/fog-libvirt-0.3.0.gem
+ source = https://rubygems.org/downloads/fog-json-1.0.2.gem
+ source = https://rubygems.org/downloads/fog-xml-0.1.2.gem
+ source = https://rubygems.org/downloads/excon-0.54.0.gem
+ source = https://rubygems.org/downloads/formatador-0.2.5.gem
+ sha256sums = 683a4924dbe28309d7a85d51e2ca3c3c07c79ce5781665a83d117b3ab69840ef
+ sha256sums = 61f1261500dd18ea42452a7a69dce8606057e9c1143d1224201d8c29db0bc703
+ sha256sums = 866b816e7516d6787bc074fcec8bb530ebf196685fee03cf56a69ecd852e8229
+ sha256sums = 079bf3f4b03c6cde89d88256fed06c855680eba614ff8cf4674e033414031191
+ sha256sums = 19006b42ac58cc71442e97d00de454824245b3780bb091cfa97e4a25db9cbb29
+ sha256sums = 0a3b624ae6503d167a1fdfb5d0da669b3d98c7e301a6092e22ff10f5ffd2e694
+ sha256sums = a32d6e509dd99b9b201c4d3a50b08e4ea7279dfc99bc05332799a00d92368b48
+ sha256sums = 80821869ddacb79e72870ff4bb1531efacd278c04f2df26bc6b4529ee13582bd
+
+pkgname = vagrant-libvirt
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..9b97681014e
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,17 @@
+*.zip
+*.jar
+*.tar
+*.tgz
+*.tbz2
+*.gz
+*.bz2
+*.xz
+*.gem
+*.run
+*.deb
+*.rpm
+*.sig
+*.log
+/src
+/pkg
+*.kate-swp
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..9c55724498b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,55 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
+# Contributor: Aliaksiej ArtamonaĆ­ <aliaksiej.artamonau@gmail.com>
+
+pkgname=vagrant-libvirt
+pkgver=0.0.36
+pkgrel=1
+_foglibvirtver=0.3.0
+_fogcorever=1.43.0
+_fogjsonver=1.0.2
+_fogxmlver=0.1.2
+_libvirtver=0.7.0
+_exconver=0.54.0
+_formatadorver=0.2.5
+pkgdesc="libvirt provider plugin for Vagrant"
+arch=(i686 x86_64)
+url="https://github.com/vagrant-libvirt/vagrant-libvirt"
+license=("MIT")
+depends=("vagrant" "libvirt")
+source=("https://rubygems.org/downloads/vagrant-libvirt-$pkgver.gem"
+ "https://rubygems.org/downloads/ruby-libvirt-$_libvirtver.gem"
+ "https://rubygems.org/downloads/fog-core-$_fogcorever.gem"
+ "https://rubygems.org/downloads/fog-libvirt-$_foglibvirtver.gem"
+ "https://rubygems.org/downloads/fog-json-$_fogjsonver.gem"
+ "https://rubygems.org/downloads/fog-xml-$_fogxmlver.gem"
+ "https://rubygems.org/downloads/excon-$_exconver.gem"
+ "https://rubygems.org/downloads/formatador-$_formatadorver.gem")
+noextract=("formatador-$_formatadorver.gem"
+ "excon-$_exconver.gem"
+ "fog-xml-$_fogxmlver.gem"
+ "fog-json-$_fogjsonver.gem"
+ "fog-libvirt-$_foglibvirtver.gem"
+ "fog-core-$_fogcorever.gem"
+ "ruby-libvirt-$_libvirtver.gem"
+ "vagrant-libvirt-$pkgver.gem")
+sha256sums=('683a4924dbe28309d7a85d51e2ca3c3c07c79ce5781665a83d117b3ab69840ef'
+ '61f1261500dd18ea42452a7a69dce8606057e9c1143d1224201d8c29db0bc703'
+ '866b816e7516d6787bc074fcec8bb530ebf196685fee03cf56a69ecd852e8229'
+ '079bf3f4b03c6cde89d88256fed06c855680eba614ff8cf4674e033414031191'
+ '19006b42ac58cc71442e97d00de454824245b3780bb091cfa97e4a25db9cbb29'
+ '0a3b624ae6503d167a1fdfb5d0da669b3d98c7e301a6092e22ff10f5ffd2e694'
+ 'a32d6e509dd99b9b201c4d3a50b08e4ea7279dfc99bc05332799a00d92368b48'
+ '80821869ddacb79e72870ff4bb1531efacd278c04f2df26bc6b4529ee13582bd')
+
+package() {
+ cd "$srcdir"
+
+ export CONFIGURE_ARGS='with-ldflags=-L/opt/vagrant/embedded/lib with-libvirt-include=/usr/include/libvirt with-libvirt-lib=/usr/lib'
+ export GEM_HOME=/opt/vagrant/embedded/gems
+ export GEM_PATH=$GEM_HOME
+ export PATH=/opt/vagrant/embedded/bin:$PATH
+
+ for gem in ${noextract[@]}; do
+ /opt/vagrant/embedded/bin/gem install --ignore-dependencies --no-user-install -i "$pkgdir$GEM_HOME" $gem
+ done
+}