share/archlinux/PKGBUILD in local_pac-0.10.0 vs share/archlinux/PKGBUILD in local_pac-0.10.1
- old
+ new
@@ -1,19 +1,19 @@
# Maintainer: Max Meyer <dev@fedux.org>
pkgname=local_pac
-pkgver=0.9.0
+pkgver=0.10.1
pkgrel=1
pkgdesc="local pacfile serving server"
arch=(i686 x86_64)
url="https://github.com/dg-vrnetze/${pkgname}"
license=('MIT')
depends=(ruby)
install=${pkgname}.install
makedepends=(rubygems filegen phantomjs)
source=(http://gems.rubyforge.org/gems/$pkgname-$pkgver.gem)
noextract=($pkgname-$pkgver.gem)
-sha256sums=('7838bb5cede5dbea1431edad9952ca1fb91f168c70382f58dfdf54b7d8e8196e')
+sha256sums=('b096bd71fe8a1a6c573728b9718d0209c3f9986184a6add9794fe0638e875874')
package() {
cd "$srcdir"
_library_dir=/usr/lib/${pkgname}
@@ -32,15 +32,14 @@
install -d ${pkgdir}$_log_dir
install -d ${pkgdir}$_config_dir
msg "Starting download of gems. Don't get alert if the download takes a lot of time. Since rubygems 2.2.0 a new algorithm to resolve dependencies is used. Upgrade to > 2.2.0 via sudo /usr/bin/gem update --system to improve performance."
- GEM_HOME="${pkgdir}${_library_dir}" GEM_ROOT="${pkgdir}${_library_dir}" GEM_PATH="${pkgdir}${_library_dir}" /usr/bin/gem install --env-shebang --wrappers --no-ri --no-rdoc --no-prerelease --install-dir ${pkgdir}${_library_dir} $pkgname -v $pkgver --verbose
+ GEM_HOME="${pkgdir}${_library_dir}" GEM_ROOT="${pkgdir}${_library_dir}" GEM_PATH="${pkgdir}${_library_dir}" /usr/bin/gem install --env-shebang --wrappers --no-ri --no-rdoc --no-prerelease --install-dir ${pkgdir}${_library_dir} $pkgname -v $pkgver
GEM_HOME="${pkgdir}${_library_dir}" GEM_ROOT="${pkgdir}${_library_dir}" GEM_PATH="${pkgdir}${_library_dir}" /usr/bin/gem install --env-shebang --wrappers --no-ri --no-rdoc --no-prerelease --install-dir ${pkgdir}${_library_dir} puma
install -D -m 644 ${pkgdir}${_share_dir}/archlinux/config.yaml ${pkgdir}${_examples_dir}/config.yaml.example
- set -x
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
rm -rf ${pkgdir}/${_library_dir}/{build_info,doc}