diff options
Diffstat (limited to 'social/diaspora-git')
-rw-r--r-- | social/diaspora-git/PKGBUILD | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/social/diaspora-git/PKGBUILD b/social/diaspora-git/PKGBUILD index 3c241473b..3f371d111 100644 --- a/social/diaspora-git/PKGBUILD +++ b/social/diaspora-git/PKGBUILD @@ -32,6 +32,9 @@ md5sums=('547b0015c83da22bd739dc85fd79f9b9' _gitroot="git://github.com/diaspora/diaspora.git" _gitname="diaspora" +# I use this because I'm behind an asshole proxy +# tsocks=tsocks + build() { cd "$srcdir" @@ -53,7 +56,7 @@ build() { git clone $_gitname $_gitname-build cd ${srcdir}/${_gitname}-build - # Symlink configs + # Symlink configs ln -s /etc/webapps/$_gitname/application.yml config/application.yml ln -s /etc/webapps/$_gitname/database.yml config/database.yml ln -s /etc/webapps/$_gitname/script_server.yml config/script_server.yml @@ -66,7 +69,7 @@ build() { # Preconfigure config/script_server.yml.example sed 's|rails_env: "development"|rails_env: "production"|' \ -i config/script_server.yml.example - + # Preconfigure right ca_file sed "s|ca_file: '/etc/pki/tls/certs/ca-bundle.crt' # CentOS|ca_file: '/etc/ssl/certs/ca-certificates.crt' # Arch|" \ -i config/application.yml.example @@ -129,11 +132,11 @@ _package() { sed -e "s/<<: \*mysql/#<<: \*mysql/" \ -e "s/#<<: \*postgres/<<: \*postgres/" \ -i $_gitname-build/config/database.yml.example - + # Preconfigure right db in script_server.yml sed "s/db: \"mysql\"/db: \"postgres\"/" \ -i $_gitname-build/config/script_server.yml.example - + esac gem install bundler |