[arch-commits] Commit in songrec/repos/community-x86_64 (PKGBUILD PKGBUILD)

Orhun Parmaksiz orhun at gemini.archlinux.org
Sun Dec 26 21:46:45 UTC 2021


    Date: Sunday, December 26, 2021 @ 21:46:43
  Author: orhun
Revision: 1083914

archrelease: copy trunk to community-x86_64

Added:
  songrec/repos/community-x86_64/PKGBUILD
    (from rev 1083913, songrec/trunk/PKGBUILD)
Deleted:
  songrec/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  103 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 52 insertions(+), 51 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-26 21:46:22 UTC (rev 1083913)
+++ PKGBUILD	2021-12-26 21:46:43 UTC (rev 1083914)
@@ -1,51 +0,0 @@
-# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
-
-_pkgname=SongRec
-pkgname=songrec
-pkgver=0.2.1
-pkgrel=1
-pkgdesc='An open-source, unofficial Shazam client for Linux'
-arch=('x86_64')
-url='https://github.com/marin-m/SongRec'
-license=('GPL3')
-makedepends=('rust' 'pkgconf' 'git')
-depends=('gtk3' 'alsa-lib' 'openssl' 'ffmpeg')
-optdepends=('libpulse: PulseAudio support')
-source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
-sha256sums=('61286bcdb2f95393da2e211d95bd08c16c15d8063b68a1fa41495f0c7b872ea7')
-
-prepare() {
-  cd "$_pkgname-$pkgver"
-  cargo fetch --locked
-}
-
-build() {
-  cd "$_pkgname-$pkgver"
-  cargo build --release --frozen
-}
-
-check() {
-  cd "$_pkgname-$pkgver"
-  cargo test --frozen
-}
-
-package() {
-  cd "$_pkgname-$pkgver"
-  install -Dm 755 "target/release/songrec" "$pkgdir/usr/bin/songrec"
-
-  install -Dm 755 "packaging/rootfs/usr/share/applications/com.github.marinm.songrec.desktop" \
-                    "$pkgdir/usr/share/applications/com.github.marinm.songrec.desktop"
-
-  install -Dm 755 "packaging/rootfs/usr/share/icons/hicolor/scalable/apps/com.github.marinm.songrec.svg" \
-                    "$pkgdir/usr/share/icons/hicolor/scalable/apps/com.github.marinm.songrec.svg"
-
-  install -Dm 755 "packaging/rootfs/usr/share/metainfo/com.github.marinm.songrec.metainfo.xml" \
-                    "$pkgdir/usr/share/metainfo/com.github.marinm.songrec.metainfo.xml"
-
-  mkdir -p "$pkgdir/usr/share/songrec"
-  cp -ra "translations" "$pkgdir/usr/share/songrec/translations"
-
-  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
-}
-
-# vim: ts=2 sw=2 et:

Copied: songrec/repos/community-x86_64/PKGBUILD (from rev 1083913, songrec/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-26 21:46:43 UTC (rev 1083914)
@@ -0,0 +1,52 @@
+# Maintainer: Orhun Parmaksız <orhun at archlinux.org>
+
+_pkgname=SongRec
+pkgname=songrec
+pkgver=0.3.0
+pkgrel=1
+pkgdesc='An open-source, unofficial Shazam client for Linux'
+arch=('x86_64')
+url='https://github.com/marin-m/SongRec'
+license=('GPL3')
+makedepends=('rust' 'pkgconf' 'git')
+depends=('gtk3' 'alsa-lib' 'openssl' 'ffmpeg')
+optdepends=('libpulse: PulseAudio support')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
+sha256sums=('3cea3bfe9f7358697b7adf33eb5ac02cb980367744e5995e8effdce925cab403')
+options=('!lto')
+
+prepare() {
+  cd "$_pkgname-$pkgver"
+  cargo fetch --locked
+}
+
+build() {
+  cd "$_pkgname-$pkgver"
+  cargo build --release --frozen
+}
+
+check() {
+  cd "$_pkgname-$pkgver"
+  cargo test --frozen
+}
+
+package() {
+  cd "$_pkgname-$pkgver"
+  install -Dm 755 "target/release/songrec" "$pkgdir/usr/bin/songrec"
+
+  install -Dm 755 "packaging/rootfs/usr/share/applications/com.github.marinm.songrec.desktop" \
+                    "$pkgdir/usr/share/applications/com.github.marinm.songrec.desktop"
+
+  install -Dm 755 "packaging/rootfs/usr/share/icons/hicolor/scalable/apps/com.github.marinm.songrec.svg" \
+                    "$pkgdir/usr/share/icons/hicolor/scalable/apps/com.github.marinm.songrec.svg"
+
+  install -Dm 755 "packaging/rootfs/usr/share/metainfo/com.github.marinm.songrec.metainfo.xml" \
+                    "$pkgdir/usr/share/metainfo/com.github.marinm.songrec.metainfo.xml"
+
+  mkdir -p "$pkgdir/usr/share/songrec"
+  cp -ra "translations" "$pkgdir/usr/share/songrec/translations"
+
+  install -Dm 644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list