share/archlinux/PKGBUILD in local_pac-0.1.5 vs share/archlinux/PKGBUILD in local_pac-0.1.6

- old
+ new

@@ -1,18 +1,18 @@ # Maintainer: Max Meyer <dev@fedux.org> pkgname=local_pac -pkgver=0.1.4 -pkgrel=1 +pkgver=0.1.6 +pkgrel=2 pkgdesc="local pacfile serving server" arch=(i686 x86_64) url="https://github.com/dg-vrnetze/${pkgname}" license=('MIT') depends=(ruby) makedepends=(rubygems filegen) source=(http://gems.rubyforge.org/gems/$pkgname-$pkgver.gem) noextract=($pkgname-$pkgver.gem) -sha256sums=('c1b1a0118600ff19f175fd5d04047a20014c9a208e71a37b492232adbe64ef44') +sha256sums=('66a8c53ab984ee3d3bedafeefc195e0c43d33a23da204f1987624ee67c2fb9f6') package() { cd "$srcdir" _library_dir=/usr/lib/${pkgname} @@ -22,10 +22,10 @@ install -d ${pkgdir}/$_library_dir install -d ${pkgdir}/$_bin_dir install -d ${pkgdir}/$_systemd_dir - gem install --env-shebang --wrappers --no-ri --no-rdoc --install-dir ${pkgdir}/${_library_dir} $pkgname puma + GEM_HOME="${pkgdir}/${_library_dir}" GEM_ROOT="${pkgdir}/${_library_dir}" GEM_PATH="${pkgdir}/${_library_dir}" gem install --env-shebang --wrappers --no-ri --no-rdoc --install-dir ${pkgdir}/${_library_dir} $pkgname SOFTWARE_BINARY=$_library_dir/gems/${pkgname}-${pkgver}/bin/${pkgname} SOFTWARE_LIB=/usr/lib/local_pac filegen ${pkgdir}${_share_dir}/archlinux/startup.erb > ${pkgdir}${_bin_dir}/${pkgname} chmod a+x ${pkgdir}/${_bin_dir}/${pkgname} rm -rf ${pkgdir}/${_library_dir}/cache