summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorjensb2023-07-24 19:35:57 +0200
committerjensb2023-07-24 19:35:57 +0200
commitaa5205d3b7a6d1e9780e0c5be179e81875aede95 (patch)
treec6defa83670e39fb83a5aa2fd40751d9b60d7d38
downloadaur-aa5205d3b7a6d1e9780e0c5be179e81875aede95.tar.gz
Initial commit
-rw-r--r--.SRCINFO19
-rw-r--r--PKGBUILD27
-rw-r--r--spicetify-marketplace-bin.install17
3 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..7ad4c10c67f0
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,19 @@
+pkgbase = spicetify-marketplace-bin
+ pkgdesc = Spicetify app that integrates a marketplace for extensions, themes and snippets
+ pkgver = 0.8.7
+ pkgrel = 1
+ url = https://github.com/spicetify/spicetify-marketplace
+ install = spicetify-marketplace-bin.install
+ arch = any
+ license = MIT
+ makedepends = git
+ depends = spicetify-cli
+ depends = spotify
+ source = https://github.com/spicetify/spicetify-marketplace/releases/download/v0.8.7/spicetify-marketplace.zip
+ source = https://raw.githubusercontent.com/spicetify/spicetify-marketplace/main/resources/color.ini
+ source = https://raw.githubusercontent.com/spicetify/spicetify-marketplace/main/LICENSE
+ sha256sums = 152f2abbda557bbc8753e03e9ee607ca637cf41920f5764b5d9a7f13ba72900c
+ sha256sums = 802c83f4f822eb254f60ef34ea8c53ea9d97889b9e886ac532e42953b9548fb2
+ sha256sums = 49ecb1c6db038200e2f9e8549d99d1966dcfa5b4bc3d0aea3e89b2f3a305a6da
+
+pkgname = spicetify-marketplace-bin
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..f622efdfe6c1
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: jensb <aur-jensb AT mailbox PUNKT org>
+
+pkgname='spicetify-marketplace-bin'
+pkgver=0.8.7
+pkgrel=1
+pkgdesc='Spicetify app that integrates a marketplace for extensions, themes and snippets'
+arch=('any')
+url='https://github.com/spicetify/spicetify-marketplace'
+license=('MIT')
+depends=('spicetify-cli'
+ 'spotify')
+makedepends=('git')
+source=('https://github.com/spicetify/spicetify-marketplace/releases/download/v'$pkgver'/spicetify-marketplace.zip'
+ 'https://raw.githubusercontent.com/spicetify/spicetify-marketplace/main/resources/color.ini'
+ 'https://raw.githubusercontent.com/spicetify/spicetify-marketplace/main/LICENSE')
+sha256sums=('152f2abbda557bbc8753e03e9ee607ca637cf41920f5764b5d9a7f13ba72900c'
+ '802c83f4f822eb254f60ef34ea8c53ea9d97889b9e886ac532e42953b9548fb2'
+ '49ecb1c6db038200e2f9e8549d99d1966dcfa5b4bc3d0aea3e89b2f3a305a6da')
+install=spicetify-marketplace-bin.install
+
+package() {
+ # color.ini needed for custom themes to work according to https://github.com/spicetify/spicetify-marketplace/wiki/Installation#manual-install-recommended
+ install -Dm644 color.ini $pkgdir/usr/share/spicetify-cli/Themes/marketplace/color.ini
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ cd spicetify-marketplace-dist
+ find . -type f -not -name "README.md" -exec install -Dm644 {} $pkgdir/usr/share/spicetify-cli/CustomApps/marketplace/{} \;
+}
diff --git a/spicetify-marketplace-bin.install b/spicetify-marketplace-bin.install
new file mode 100644
index 000000000000..0199b1a0836b
--- /dev/null
+++ b/spicetify-marketplace-bin.install
@@ -0,0 +1,17 @@
+post_install() {
+ # Abridged version of https://github.com/spicetify/spicetify-marketplace/wiki/Installation#manual-install-recommended
+ echo "Run the following command to enable the marketplace app:"
+ echo ""
+ echo "spicetify config custom_apps marketplace"
+ echo "spicetify apply"
+ echo ""
+ echo "To install themes using Spicetify Marketplace, run the following commands:"
+ echo ""
+ echo "spicetify config inject_css 1"
+ echo "spicetify config replace_colors 1"
+ echo "spicetify config current_theme marketplace"
+}
+
+post_upgrade() {
+ echo "Run `spicetify apply` to apply the marketplace update."
+}