aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-sqlite
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-04-29 08:06:55 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-29 12:36:41 +0000
commitf58e361776f7398d806321ea9d63f59f5fc38b5d (patch)
treeeea648afb288a35c5b1e2bffb3d3b4442578b08b /unmaintained/ruby-sqlite
parentb951abfe754edd478b0a17f12cad5fb56e42eee1 (diff)
downloadaports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.bz2
aports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.xz
move community/ruby-* to unmaintained
Diffstat (limited to 'unmaintained/ruby-sqlite')
-rw-r--r--unmaintained/ruby-sqlite/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/unmaintained/ruby-sqlite/APKBUILD b/unmaintained/ruby-sqlite/APKBUILD
new file mode 100644
index 0000000000..5cb344a091
--- /dev/null
+++ b/unmaintained/ruby-sqlite/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=ruby-sqlite
+_gemname=sqlite3
+pkgver=1.3.11
+pkgrel=0
+pkgdesc="SQLite API module for Ruby"
+url="http://rubygems.org/gems/sqlite3"
+arch="all"
+license="GPL"
+depends="ruby"
+depends_dev="sqlite-dev ruby-dev"
+makedepends="$depends_dev ruby"
+install=""
+subpackages=""
+source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
+
+build() {
+ return 0
+}
+
+package() {
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ local _geminstdir=$_gemdir/gems/$_gemname-$pkgver
+ mkdir -p "$pkgdir" || return 1
+
+ gem install --local --install-dir "$pkgdir"/$_gemdir \
+ --ignore-dependencies --verbose --no-rdoc --no-ri \
+ "$srcdir"/$_gemname-$pkgver.gem || return 1
+ rm -rf "$pkgdir"/$_gemdir/cache \
+ "$pkgdir"/$_geminstdir/ext \
+ "$pkgdir"/$_geminstdir/.require_paths
+}
+
+md5sums="1cb7c23bbb8890bffc9d4467c3b58eac sqlite3-1.3.11.gem"
+sha256sums="de8ecdcc00a7af0cda98661ed94ce442964b9403b425e95c3ac4544b1f3720a7 sqlite3-1.3.11.gem"
+sha512sums="02bef5f8f61d1f04c79d9032d62c9d708dddc2446dd256ad13f932ed4cae256d6c60f742a285bc4015ef5b1fb13e9541738f31fd270fe22320fc176525fe37bb sqlite3-1.3.11.gem"