Date: Friday, February 3, 2023 @ 00:28:50
  Author: felixonmars
Revision: 1392082

archrelease: copy trunk to community-any

Added:
  ruby-notiffany/repos/community-any/PKGBUILD
    (from rev 1392081, ruby-notiffany/trunk/PKGBUILD)
Deleted:
  ruby-notiffany/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  118 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 60 insertions(+), 58 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-03 00:28:37 UTC (rev 1392081)
+++ PKGBUILD    2023-02-03 00:28:50 UTC (rev 1392082)
@@ -1,58 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=ruby-notiffany
-pkgver=0.1.3
-pkgrel=1
-pkgdesc='Wrapper libray for most popular notification libraries such as Growl, 
Libnotify, Notifu'
-arch=(any)
-url='https://github.com/guard/notiffany'
-license=(MIT)
-depends=(ruby-nenv ruby-shellany)
-checkdepends=(ruby-rake ruby-rspec tmux)
-options=(!emptydirs)
-source=(https://github.com/guard/notiffany/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
-sha256sums=('1f4dda29b909e639a45bff517eaa3298d2038f610d2c56bd6ef53fa7827da3b4')
-
-prepare() {
-  cd notiffany-$pkgver
-  sed -i -e 's|~>|>=|' -e 's|git ls-files -z|find . -type f -not -path 
"*/\.git/*" -printf "%P\\\\0"|' notiffany.gemspec
-}
-
-build() {
-  local _gemdir="$(gem env gemdir)"
-  cd notiffany-$pkgver
-  gem build notiffany.gemspec
-  gem install \
-    --local \
-    --verbose \
-    --ignore-dependencies \
-    --no-user-install \
-    --install-dir "tmp_install/$_gemdir" \
-    --bindir "tmp_install/usr/bin" \
-    notiffany-$pkgver.gem
-  find "tmp_install/$_gemdir/gems/" \
-    -type f \
-    \( \
-        -iname "*.o" -o \
-        -iname "*.c" -o \
-        -iname "*.so" -o \
-        -iname "*.time" -o \
-        -iname "gem.build_complete" -o \
-        -iname "Makefile" \
-    \) \
-    -delete
-  rm -r tmp_install/$_gemdir/cache
-}
-
-check() {
-  local _gemdir="$(gem env gemdir)"
-  cd notiffany-$pkgver
-  # https://github.com/guard/notiffany/issues/44
-  GEM_HOME="tmp_install/$_gemdir" rake || echo "Tests failed"
-}
-
-package() {
-  cd notiffany-$pkgver
-  cp -a tmp_install/* "$pkgdir"/
-  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: ruby-notiffany/repos/community-any/PKGBUILD (from rev 1392081, 
ruby-notiffany/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-02-03 00:28:50 UTC (rev 1392082)
@@ -0,0 +1,60 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=ruby-notiffany
+pkgver=0.1.3
+_commit=c726a05138e55c7247bd7e370aa21b1586d86ea5
+pkgrel=2
+pkgdesc='Wrapper libray for most popular notification libraries such as Growl, 
Libnotify, Notifu'
+arch=(any)
+url='https://github.com/guard/notiffany'
+license=(MIT)
+depends=(ruby-nenv ruby-shellany)
+makedepends=(git)
+checkdepends=(ruby-rake ruby-rspec tmux)
+options=(!emptydirs)
+source=(git+https://github.com/guard/notiffany.git#commit=$_commit)
+sha256sums=('SKIP')
+
+prepare() {
+  cd notiffany
+  sed -i -e 's|~>|>=|' notiffany.gemspec
+}
+
+build() {
+  local _gemdir="$(gem env gemdir)"
+  cd notiffany
+  gem build notiffany.gemspec
+  gem install \
+    --local \
+    --verbose \
+    --ignore-dependencies \
+    --no-user-install \
+    --install-dir "tmp_install/$_gemdir" \
+    --bindir "tmp_install/usr/bin" \
+    notiffany-$pkgver.gem
+  find "tmp_install/$_gemdir/gems/" \
+    -type f \
+    \( \
+        -iname "*.o" -o \
+        -iname "*.c" -o \
+        -iname "*.so" -o \
+        -iname "*.time" -o \
+        -iname "gem.build_complete" -o \
+        -iname "Makefile" \
+    \) \
+    -delete
+  rm -r tmp_install/$_gemdir/cache
+}
+
+check() {
+  local _gemdir="$(gem env gemdir)"
+  cd notiffany
+  # https://github.com/guard/notiffany/issues/44
+  GEM_HOME="tmp_install/$_gemdir" rake || echo "Tests failed"
+}
+
+package() {
+  cd notiffany
+  cp -a tmp_install/* "$pkgdir"/
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to