diff options
author | AdmiringWorm | 2020-02-29 14:33:00 +0100 |
---|---|---|
committer | AdmiringWorm | 2020-02-29 14:33:00 +0100 |
commit | fbdaf2e043c7b0ee7e05149f7d131f2efd46780b (patch) | |
tree | a22523323fdae2c613733003c2b0f712260e898c | |
parent | 3289aa864a9230d44eca53fe09b3f4681e7cfd10 (diff) | |
download | aur-fbdaf2e043c7b0ee7e05149f7d131f2efd46780b.tar.gz |
fix: corrected download urls for archives
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 17 insertions, 17 deletions
@@ -1,7 +1,7 @@ pkgbase = easymp3gain-qt4-bin pkgdesc = Qt Graphical User Interface (GUI) for MP3Gain, VorbisGain and AACGain (binary package) pkgver = 0.5.0 - pkgrel = 7 + pkgrel = 8 url = http://easymp3gain.sourceforge.net/ install = easymp3gain.install arch = i686 @@ -16,8 +16,10 @@ pkgbase = easymp3gain-qt4-bin conflicts = easymp3gain-gtk2 conflicts = easymp3gain-gtk2-bin conflicts = easymp3gain-qt4 - source = http://sourceforge.net/projects/easymp3gain/files/easymp3gain%20i386/easymp3gain-0.5.0/easymp3gain-qt4_0.5.0_i386.tar.gz - sha512sums = b862917898488d4a21a31c9a806695e6d32358775717de5246ffc8c8288603c3cc2bb726c8fcc9bfdf8e4d2ef8e2ec8b3208d577c1d2dcc42602bfde96bb6724 + source_i686 = https://sourceforge.net/projects/easymp3gain/files/easymp3gain%20i386/easymp3gain-0.5.0/easymp3gain-qt4_0.5.0_i386.tar.gz + sha512sums_i686 = b862917898488d4a21a31c9a806695e6d32358775717de5246ffc8c8288603c3cc2bb726c8fcc9bfdf8e4d2ef8e2ec8b3208d577c1d2dcc42602bfde96bb6724 + source_x86_64 = https://sourceforge.net/projects/easymp3gain/files/easymp3gain%20x86_64/easymp3gain-0.5.0/easymp3gain-qt4_0.5.0_amd64.tar.gz + sha512sums_x86_64 = e72e9afae3d02092042521faea4475093043ab96b3c95a57b31bed6bf016c6e647543c7f1b466b41494024943382081ab73225c89d67e8b207c6e5c86aeeb1a1 pkgname = easymp3gain-qt4-bin @@ -4,7 +4,7 @@ pkgname=easymp3gain-qt4-bin pkgver=0.5.0 -pkgrel=7 +pkgrel=8 pkgdesc="Qt Graphical User Interface (GUI) for MP3Gain, VorbisGain and AACGain (binary package)" arch=('i686' 'x86_64') url="http://easymp3gain.sourceforge.net/" @@ -16,26 +16,24 @@ optdepends=('mp3gain: for MP3 support' provides=('easymp3gain') conflicts=('easymp3gain-gtk2' 'easymp3gain-gtk2-bin' 'easymp3gain-qt4') install='easymp3gain.install' -[[ "${CARCH}" = "x86_64" ]] && _arch='amd64' || _arch='i386' -if [[ "${CARCH}" = "x86_64" ]]; then - source=("http://sourceforge.net/projects/easymp3gain/files/easymp3gain%20x86_64/easymp3gain-${pkgver}/easymp3gain-qt4_${pkgver}_${_arch}.tar.gz") -else - source=("http://sourceforge.net/projects/easymp3gain/files/easymp3gain%20i386/easymp3gain-${pkgver}/easymp3gain-qt4_${pkgver}_${_arch}.tar.gz") -fi -if [[ "${CARCH}" == "x86_64" ]]; then - sha512sums=('e72e9afae3d02092042521faea4475093043ab96b3c95a57b31bed6bf016c6e647543c7f1b466b41494024943382081ab73225c89d67e8b207c6e5c86aeeb1a1') -else - sha512sums=('b862917898488d4a21a31c9a806695e6d32358775717de5246ffc8c8288603c3cc2bb726c8fcc9bfdf8e4d2ef8e2ec8b3208d577c1d2dcc42602bfde96bb6724') -fi +source_i686=("https://sourceforge.net/projects/easymp3gain/files/easymp3gain%20i386/easymp3gain-${pkgver}/${pkgname%-bin}_${pkgver}_i386.tar.gz") +source_x86_64=("https://sourceforge.net/projects/easymp3gain/files/easymp3gain%20x86_64/easymp3gain-${pkgver}/${pkgname%-bin}_${pkgver}_amd64.tar.gz") +sha512sums_i686=('b862917898488d4a21a31c9a806695e6d32358775717de5246ffc8c8288603c3cc2bb726c8fcc9bfdf8e4d2ef8e2ec8b3208d577c1d2dcc42602bfde96bb6724') +sha512sums_x86_64=('e72e9afae3d02092042521faea4475093043ab96b3c95a57b31bed6bf016c6e647543c7f1b466b41494024943382081ab73225c89d67e8b207c6e5c86aeeb1a1') + package() { - cd ${srcdir}/easymp3gain-qt4_${pkgver}-1_${_arch}/ + if [[ "${CARCH}" == "x86_64" ]]; then + cd "${srcdir}/${pkgname%-bin}_${pkgver}-1_amd64/" + else + cd "${srcdir}/${pkgname%-bin}_${pkgver}-1_i386/" + fi mkdir -p "${pkgdir}/usr/bin" mkdir -p "${pkgdir}/usr/share/doc" mkdir -p "${pkgdir}/usr/share/easymp3gain" cp easymp3gain "${pkgdir}/usr/bin/" cp -r applications "${pkgdir}/usr/share/" - cp -r help "${pkgdir}/usr/share/doc/easymp3gain-qt4" + cp -r help "${pkgdir}/usr/share/doc/${pkgname%-bin}" cp -r lang "${pkgdir}/usr/share/easymp3gain/" for i in 16 22 24 32 48 64 128 192; do |