blob: 98855b5d89506ca3573d6a7843f4bfb17ea5f038 (
plain)
1 # Description: Ruby bindings for SQLite3
2 # URL: https://github.com/sparklemotion/sqlite3-ruby
3 # Maintainer: Juergen Daubert, jue at crux dot nu
4 # Depends on: ruby ruby-mini_portile2 sqlite3
5
6 name=ruby-sqlite3
7 version=1.6.0
8 release=1
9 source=(https://rubygems.org/downloads/sqlite3-$version.gem)
10
11 build () {
12 gem install sqlite3 \
13 --ignore-dependencies \
14 --no-user-install \
15 --no-document \
16 --local \
17 --build-root $PKG \
18 -- \
19 --enable-system-libraries
20
21 cd $PKG/$(gem env gemdir)
22 rm -r cache doc build_info
23 cd gems/sqlite3-$version
24 rm -r ext ports faq
25 find -maxdepth 1 -type f -delete
26 }
|