aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorCarlo Landmeter <clandmeter@gmail.com>2016-03-18 15:49:24 +0100
committerCarlo Landmeter <clandmeter@gmail.com>2016-03-18 16:26:13 +0100
commitd23da71229efe181c50ea451f837235a034ad6c6 (patch)
tree474cb25425fad4ff34956a8714aeb83a0b5135ef /community
parent6d9e485b9d8599bfd7beaf0ce055285155cc1b28 (diff)
downloadaports-d23da71229efe181c50ea451f837235a034ad6c6.tar.bz2
aports-d23da71229efe181c50ea451f837235a034ad6c6.tar.xz
community/ruby-css_parser: new aport
Diffstat (limited to 'community')
-rw-r--r--community/ruby-css_parser/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/community/ruby-css_parser/APKBUILD b/community/ruby-css_parser/APKBUILD
new file mode 100644
index 0000000000..711ae950ba
--- /dev/null
+++ b/community/ruby-css_parser/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=ruby-css_parser
+_gemname=css_parser
+pkgver=1.3.7
+pkgrel=0
+pkgdesc="A set of classes for parsing CSS in Ruby"
+url="https://github.com/premailer/css_parser"
+arch="noarch"
+license="MIT"
+depends="ruby-addressable ruby"
+depends_dev=""
+makedepends="$depends_dev ruby-dev"
+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="4825a1fbc3be3c0e90e28fc2fb8f113e css_parser-1.3.7.gem"
+sha256sums="359563516a965b4fd770d908ba11fa218e220576c646687b9954bf05fee4cfe3 css_parser-1.3.7.gem"
+sha512sums="5c03067a7e5b9e4519ca1c6ab12e8e207b70c6c192f575e9568cd1b4e598ede4af6c93f1ce0d92dd88f8ab0a660ce459dbdcd92f0b508420876e486ef15550c4 css_parser-1.3.7.gem"