summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfarawayer2017-01-10 06:21:50 +0300
committerfarawayer2017-01-10 06:21:50 +0300
commit4932bbce0e32b7995ef290bc555e2478cb9919e4 (patch)
tree90df255974038b1d0870fa46011ffba43e032be9
downloadaur-4932bbce0e32b7995ef290bc555e2478cb9919e4.tar.gz
init
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD23
2 files changed, 43 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..c117fd30024
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = ruby-xcodeproj
+ pkgdesc = Create and modify Xcode projects from Ruby.
+ pkgver = 1.4.2
+ pkgrel = 1
+ url = https://github.com/cocoapods/xcodeproj
+ arch = any
+ license = MIT
+ depends = ruby
+ depends = ruby-activesupport
+ depends = ruby-CFPropertyList
+ depends = ruby-claide
+ depends = ruby-colored
+ depends = ruby-nanaimo
+ noextract = xcodeproj-1.4.2.gem
+ options = !emptydirs
+ source = https://rubygems.org/downloads/xcodeproj-1.4.2.gem
+ sha1sums = 799f449dd252447d2a7cdb4e19fb100cbeb27bc3
+
+pkgname = ruby-xcodeproj
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..16c2d0c6725
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,23 @@
+# Generated by gem2arch (https://github.com/anatol/gem2arch)
+# Maintainer: farawayer <farwayer@gmail.com>
+
+_gemname=xcodeproj
+pkgname=ruby-$_gemname
+pkgver=1.4.2
+pkgrel=1
+pkgdesc='Create and modify Xcode projects from Ruby.'
+arch=(any)
+url='https://github.com/cocoapods/xcodeproj'
+license=(MIT)
+depends=(ruby ruby-activesupport ruby-CFPropertyList ruby-claide ruby-colored ruby-nanaimo)
+options=(!emptydirs)
+source=(https://rubygems.org/downloads/$_gemname-$pkgver.gem)
+noextract=($_gemname-$pkgver.gem)
+sha1sums=('799f449dd252447d2a7cdb4e19fb100cbeb27bc3')
+
+package() {
+ 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
+ rm "$pkgdir/$_gemdir/cache/$_gemname-$pkgver.gem"
+ install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}