summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorCore2022-05-07 05:40:19 +0100
committerCore2022-05-07 05:40:19 +0100
commitc4681b238afb632d0a9f54128bf3563f950b6d4c (patch)
tree1bc0c39b4202cbd254a70fd11f7945e02b611a8a
parent442bccfc882729d416e3dd2c1f2a23c34f78cd9f (diff)
downloadaur-c4681b238afb632d0a9f54128bf3563f950b6d4c.tar.gz
Binary link for easy launching in terminal
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD6
2 files changed, 5 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 32f5aac9bcd0..7f97bec77464 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,5 +1,5 @@
pkgbase = cider
- pkgdesc = Project Cider. An open-source Apple Music client built from the ground up with Vue.js and Electron. Compiled from the GitHub repositories main branch.
+ pkgdesc = Project Cider. An open-source Apple Music client built from the ground up with Vue.js and Electron. Installed using the debian release builds from CircleCI.
pkgver = 1.4.5
pkgrel = 1
url = https://github.com/CiderApp/Cider.git
diff --git a/PKGBUILD b/PKGBUILD
index b8a86e644ced..5a0623c4299f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@ pkgname=cider
_pkgname=Cider
pkgver=1.4.5
pkgrel=1
-pkgdesc="Project Cider. An open-source Apple Music client built from the ground up with Vue.js and Electron. Compiled from the GitHub repositories main branch."
+pkgdesc="Project Cider. An open-source Apple Music client built from the ground up with Vue.js and Electron. Installed using the debian release builds from CircleCI."
arch=("armv7h" "i686" "x86_64")
url="https://github.com/CiderApp/${_pkgname}.git"
_url="https://api.github.com/repos/ciderapp/cider-releases/releases/latest"
@@ -39,13 +39,15 @@ build() {
curl https://raw.githubusercontent.com/CiderApp/cider/master/README.md > README
curl https://raw.githubusercontent.com/CiderApp/cider/master/LICENSE > LICENSE
curl https://raw.githubusercontent.com/CiderApp/cider/master/resources/icons/cider.png > icon.png
-
}
package() {
# Extract package data
tar -xJ -f data.tar.xz -C "${pkgdir}"
+ install -d "$pkgdir/usr/bin/"
+ ln -sf "/opt/${_pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+
# Desktop File
install -Dm644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"