summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarin2021-04-11 17:57:48 +0200
committerMarin2021-04-11 17:57:48 +0200
commite0090ae0a8892eba7fc2d2a1eb9a9b8b1abc7a16 (patch)
tree1d9a620d66eab2d05b4c1e20e3cd547ecec882b5
parentb5f401344c09cab75cc174f937124d758062db95 (diff)
downloadaur-e0090ae0a8892eba7fc2d2a1eb9a9b8b1abc7a16.tar.gz
Merge the changes from https://github.com/marin-m/SongRec/pull/39: "Support CARGO_TARGET_DIR in Arch PKGBUILDs"
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
2 files changed, 3 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 2a65e35ecff8..8423de505e59 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = songrec-git
pkgdesc = An open-source, unofficial Shazam client for Linux, written in Rust.
- pkgver = r80.12791ee
+ pkgver = r92.b9695dc
pkgrel = 1
url = https://github.com/marin-m/SongRec
arch = x86_64
diff --git a/PKGBUILD b/PKGBUILD
index 104e0f571849..d33bc5ecdc82 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
pkgname=songrec-git
_pkgname=songrec
-pkgver=r80.12791ee
+pkgver=r92.b9695dc
pkgrel=1
provides=('songrec')
conflicts=('songrec')
@@ -26,7 +26,7 @@ build() {
package() {
cd "$_pkgname"
- install -Dm755 "target/release/songrec" "$pkgdir/usr/bin/songrec"
+ install -Dm755 "${CARGO_TARGET_DIR:-target}/release/songrec" "$pkgdir/usr/bin/songrec"
install -Dm755 "packaging/rootfs/usr/share/applications/com.github.marinm.songrec.desktop" "$pkgdir/usr/share/applications/com.github.marinm.songrec.desktop"
install -Dm755 "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"