diff options
author | Mario Finelli | 2015-12-21 21:36:26 -0500 |
---|---|---|
committer | Mario Finelli | 2015-12-21 21:36:26 -0500 |
commit | 8d95e480948ecb881c9524fd86f0e478a0c3f4ae (patch) | |
tree | 784a8d8b586733a242420eb5096c85616020584f /PKGBUILD | |
download | aur-8d95e480948ecb881c9524fd86f0e478a0c3f4ae.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4185b21f514a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Generated with gembuild (https://github.com/mfinelli/gembuild) +# Maintainer: Mario Finelli <mario dot finelli at yahoo dot com> + +_gemname=scss_lint +pkgname=ruby-$_gemname +pkgver=0.43.2 +pkgrel=1 +pkgdesc='Configurable tool for writing clean and consistent SCSS.' +arch=('any') +url='https://github.com/brigade/scss-lint' +license=('MIT') +options=(!emptydirs) +noextract=($_gemname-$pkgver.gem) +depends=('ruby' 'ruby-sass' 'ruby-rainbow') +makedepends=('rubygems') +source=("https://rubygems.org/downloads/$_gemname-$pkgver.gem") +sha256sums=('bc7fdb2115fed73a459e18899b3cb6b3df3b95ef5696c1ffc74c8f161c18285a') + +package() { + cd "$srcdir" + local _gemdir="$(ruby -e'puts Gem.default_dir')" + + gem install --ignore-dependencies --no-user-install -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" $_gemname-$pkgver.gem +} |