Skip to content

Commit

Permalink
gimp-devel: add _majorver variable and fix source url for v3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
Integral-Tech committed Nov 5, 2024
1 parent 89f294b commit 0a4725f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion archlinuxcn/gimp-devel/PKGBUILD
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
pkgname=gimp-devel
_pkgname=${pkgname%-devel}
pkgver=2.99.18
_majorver=$(cut -d '.' -f 1-2 <<<${pkgver})
pkgrel=4
pkgdesc="GNU Image Manipulation Program (Development version)"
arch=('i686' 'x86_64' 'armv7h' 'aarch64')
Expand Down Expand Up @@ -37,7 +38,7 @@ optdepends=('gutenprint: for sophisticated printing only as gimp has built-in cu
'cfitsio: FITS support')
conflicts=("${_pkgname}")
provides=("${_pkgname}=${pkgver}")
source=("https://download.gimp.org/pub/gimp/v${pkgver%.*}/${_pkgname}-${pkgver}.tar.xz"
source=("https://download.gimp.org/pub/gimp/v${_majorver}/${_pkgname}-${pkgver}.tar.xz"
'linux.gpl')
sha256sums=('8c1bb7a94ac0d4d0cde4d701d8b356387c2ecd87abbd35bbf7d222d40f6ddb6e'
'1003bbf5fc292d0d63be44562f46506f7b2ca5729770da9d38d3bb2e8a2f36b3')
Expand Down

0 comments on commit 0a4725f

Please sign in to comment.