summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorwillemw122023-08-22 13:51:18 +0200
committerwillemw122023-08-22 13:51:18 +0200
commit9e96b4e8751aa1fa1c780ed29fc755f15f75d0f5 (patch)
tree0364f50fede717e9530bf44dcdb41e87a5b9a6d3
parent95994c9901f43c2bcc23aea69dc30e6b73301891 (diff)
downloadaur-9e96b4e8751aa1fa1c780ed29fc755f15f75d0f5.tar.gz
Move to github sources
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD24
2 files changed, 18 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ef8f6d19f0a0..f8adf300b2d3 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = mp3diags
pkgdesc = Find and fix problems in MP3 files. Includes a tagger
pkgver = 1.5.02
- pkgrel = 2
+ pkgrel = 3
url = https://mp3diags.sourceforge.net/
arch = x86_64
license = GPL2
@@ -10,7 +10,7 @@ pkgbase = mp3diags
depends = boost-libs
depends = qt5-base
optdepends = mp3gain: MP3 normalization support
- source = https://downloads.sourceforge.net/project/mp3diags/unstable/mp3diags-src/MP3Diags-unstable-1.5.02.tar.gz
- sha256sums = 6dacea62988e7ffee79217cf404268ece22b3fee95474f021c22f854a9f3e8e6
+ source = mp3diags-1.5.02.tar.gz::https://github.com/mciobanu/mp3diags/archive/refs/tags/1.5.02.tar.gz
+ sha256sums = d7d7590268fc6d8af835b448e572ad5d6bac9b6af4be9a25ca87d5f3c7f9a09a
pkgname = mp3diags
diff --git a/PKGBUILD b/PKGBUILD
index 480be1e6575a..19df5034fce8 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,7 +5,7 @@
pkgname=mp3diags
pkgver=1.5.02
-pkgrel=2
+pkgrel=3
pkgdesc='Find and fix problems in MP3 files. Includes a tagger'
arch=(x86_64)
url=https://mp3diags.sourceforge.net/
@@ -13,15 +13,19 @@ license=(GPL2)
depends=(boost-libs qt5-base)
makedepends=(boost qt5-tools)
optdepends=('mp3gain: MP3 normalization support')
-source=("https://downloads.sourceforge.net/project/mp3diags/unstable/mp3diags-src/MP3Diags-unstable-$pkgver.tar.gz")
-sha256sums=('6dacea62988e7ffee79217cf404268ece22b3fee95474f021c22f854a9f3e8e6')
+#source=("https://downloads.sourceforge.net/project/mp3diags/unstable/mp3diags-src/MP3Diags-unstable-$pkgver.tar.gz")
+#sha256sums=('6dacea62988e7ffee79217cf404268ece22b3fee95474f021c22f854a9f3e8e6')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/mciobanu/mp3diags/archive/refs/tags/$pkgver.tar.gz")
+sha256sums=('d7d7590268fc6d8af835b448e572ad5d6bac9b6af4be9a25ca87d5f3c7f9a09a')
-prepare() {
- sed -i 's|[-/]unstable||g' MP3Diags-unstable-$pkgver/desktop/MP3Diags-unstable.desktop
-}
+#prepare() {
+# sed -i 's|[-/]unstable||g' MP3Diags-unstable-$pkgver/desktop/MP3Diags-unstable.desktop
+#}
build() {
- cd MP3Diags-unstable-$pkgver
+ #cd MP3Diags-unstable-$pkgver
+ cd $pkgname-$pkgver
+
./AdjustMt.sh
qmake-qt5
make
@@ -29,10 +33,12 @@ build() {
}
package() {
- cd MP3Diags-unstable-$pkgver
+ #cd MP3Diags-unstable-$pkgver
+ cd $pkgname-$pkgver
install -Dm755 bin/MP3Diags-unstable "$pkgdir/usr/bin/MP3Diags"
- install -Dm644 desktop/MP3Diags-unstable.desktop "$pkgdir/usr/share/applications/MP3Diags.desktop"
+ #install -Dm644 desktop/MP3Diags-unstable.desktop "$pkgdir/usr/share/applications/MP3Diags.desktop"
+ install -Dm644 desktop/MP3Diags.desktop "$pkgdir/usr/share/applications/MP3Diags.desktop"
for i in 16 22 24 32 36 40 48; do
install -Dm644 desktop/MP3Diags-unstable$i.png "$pkgdir/usr/share/icons/hicolor/${i}x$i/apps/MP3Diags.png"