summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexandre Bouvier2021-08-25 19:03:22 +0200
committerAlexandre Bouvier2021-08-25 19:03:22 +0200
commitc8d609846a26182b728afecc7214f829c33729de (patch)
tree327a50e29b143308e14b035a8775a7db28cc1183
parent42a923c82b5b5546b49a05365027e8236fdbe1bc (diff)
downloadaur-foobar2000-component-texttools-bin.tar.gz
optdepends on foobar2000
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD21
2 files changed, 15 insertions, 17 deletions
diff --git a/.SRCINFO b/.SRCINFO
index faa44e39c96..d61b7abf564 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,15 @@
pkgbase = foobar2000-component-texttools-bin
pkgdesc = Adds customizable context menu commands for copying information about the selected tracks to clipboard
pkgver = 1.0.5
- pkgrel = 1
+ pkgrel = 2
url = https://www.foobar2000.org/components/view/foo_texttools
arch = any
license = unknown
makedepends = wget
- depends = foobar2000
- conflicts = foobar2000-texttools-bin
- replaces = foobar2000-texttools-bin
+ optdepends = foobar2000
+ provides = foobar2000-component-texttools
+ conflicts = foobar2000-component-texttools
source = foo_texttools.zip::https://www.foobar2000.org/components/view/foo_texttools
- md5sums = 29f4b0ded57db27b806b0943ebb239bb
+ b2sums = 11ad99e58925f6c5f2e9fe009e54e27752e18ae859158fa85f0b2e3b13a32c045722c9431f43390dde688065ddd494ada89aee3ac384aff09c55439a39546110
pkgname = foobar2000-component-texttools-bin
-
diff --git a/PKGBUILD b/PKGBUILD
index 9965b6c1528..9b739bc86f3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,24 +1,23 @@
-#!/bin/bash
-# shellcheck disable=SC2034
-# Maintainer: Alexandre Bouvier <contact at amb dot tf>
-pkgname=foobar2000-component-texttools-bin
+# Maintainer: Alexandre Bouvier <contact@amb.tf>
+_pkgname=foobar2000-component-texttools
+pkgname=$_pkgname-bin
pkgver=1.0.5
-pkgrel=1
+pkgrel=2
pkgdesc="Adds customizable context menu commands for copying information about the selected tracks to clipboard"
arch=('any')
url="https://www.foobar2000.org/components/view/foo_texttools"
license=('unknown')
-depends=('foobar2000')
makedepends=('wget')
-conflicts=('foobar2000-texttools-bin')
-replaces=('foobar2000-texttools-bin')
-source=("foo_texttools.zip::https://www.foobar2000.org/components/view/foo_texttools")
-md5sums=('29f4b0ded57db27b806b0943ebb239bb')
+optdepends=('foobar2000')
+provides=("$_pkgname")
+conflicts=("$_pkgname")
+source=("foo_texttools.zip::$url")
+b2sums=('11ad99e58925f6c5f2e9fe009e54e27752e18ae859158fa85f0b2e3b13a32c045722c9431f43390dde688065ddd494ada89aee3ac384aff09c55439a39546110')
# bypass dynamic download link
DLAGENTS=('https::/usr/bin/wget -nd -rl1 -A zip')
package() {
# shellcheck disable=SC2154
- install -Dm644 -t "$pkgdir/usr/share/foobar2000/components" foo_texttools.dll
+ install -Dm644 -t "$pkgdir"/usr/share/foobar2000/components foo_texttools.dll
}