Skip to content

Commit

Permalink
to-release: released packages.
Browse files Browse the repository at this point in the history
  • Loading branch information
noptrix committed Jun 26, 2023
1 parent d617fdc commit b3f9f70
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
1 change: 0 additions & 1 deletion lists/to-release
Original file line number Diff line number Diff line change
@@ -1 +0,0 @@
bqm
9 changes: 5 additions & 4 deletions packages/bqm/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ license=('MIT')
depends=('ruby')
makedepends=('git')
options=(!emptydirs)
source=("git+https://github.com/Acceis/$_gemname.git")
source=("git+https://github.com/Acceis/$pkgname.git")
sha512sums=('SKIP')

pkgver() {
Expand All @@ -25,7 +25,7 @@ pkgver() {
build() {
cd $_gemname

gem build $_gemname.gemspec
gem build "$_gemname.gemspec"
}

package() {
Expand All @@ -34,8 +34,9 @@ package() {
_gemdir="$(ruby -e'puts Gem.default_dir')"
_release=$(gem build $_gemname.gemspec | grep Version | cut -d' ' -f4)

gem install --ignore-dependencies --no-user-install --no-document --no-wrapper \
-i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" "$_gemname-$_release.gem"
gem install --ignore-dependencies --no-user-install --no-document \
--no-wrapper -i "$pkgdir/$_gemdir" -n "$pkgdir/usr/bin" \
"$_gemname-$_release.gem"

rm -rf "$pkgdir/$_gemdir/cache/$_gemname-$_release.gem"
find "$pkgdir/$_gemdir/extensions/" -name *.so -delete
Expand Down

0 comments on commit b3f9f70

Please sign in to comment.