fix(PKGBUILD): use pkgver variable instead static version

This commit is contained in:
Markus Pesch 2020-01-04 22:14:19 +01:00
parent f0faa92966
commit 6d0f77d8fe
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 6 additions and 6 deletions

View File

@ -1,7 +1,7 @@
pkgbase = mint-backgrounds-olivia pkgbase = mint-backgrounds-olivia
pkgdesc = The backgrounds included in Linux Mint 15 Olivia pkgdesc = The backgrounds included in Linux Mint 15 Olivia
pkgver = 1.7 pkgver = 1.7
pkgrel = 1 pkgrel = 2
url = http://packages.linuxmint.com/pool/main/m/mint-backgrounds-olivia url = http://packages.linuxmint.com/pool/main/m/mint-backgrounds-olivia
arch = any arch = any
license = Various license = Various

View File

@ -2,7 +2,7 @@
pkgname=mint-backgrounds-olivia pkgname=mint-backgrounds-olivia
pkgver=1.7 pkgver=1.7
pkgrel=1 pkgrel=2
pkgdesc="The backgrounds included in Linux Mint 15 Olivia" pkgdesc="The backgrounds included in Linux Mint 15 Olivia"
license=('Various') license=('Various')
arch=('any') arch=('any')
@ -14,8 +14,8 @@ package() {
mkdir --parents ${pkgdir}/usr/share/backgrounds/linuxmint-olivia mkdir --parents ${pkgdir}/usr/share/backgrounds/linuxmint-olivia
mkdir --parents ${pkgdir}/usr/share/{cinnamon-background-properties,gnome-background-properties,mate-background-properties} mkdir --parents ${pkgdir}/usr/share/{cinnamon-background-properties,gnome-background-properties,mate-background-properties}
cp --archive ${srcdir}/${pkgname}-1.7/backgrounds/linuxmint-olivia ${pkgdir}/usr/share/backgrounds cp --archive ${srcdir}/${pkgname}-${pkgver}/backgrounds/linuxmint-olivia ${pkgdir}/usr/share/backgrounds
cp --archive ${srcdir}/${pkgname}-1.7/cinnamon-background-properties/* ${pkgdir}/usr/share/cinnamon-background-properties cp --archive ${srcdir}/${pkgname}-${pkgver}/cinnamon-background-properties/* ${pkgdir}/usr/share/cinnamon-background-properties
cp --archive ${srcdir}/${pkgname}-1.7/gnome-background-properties/* ${pkgdir}/usr/share/gnome-background-properties cp --archive ${srcdir}/${pkgname}-${pkgver}/gnome-background-properties/* ${pkgdir}/usr/share/gnome-background-properties
cp --archive ${srcdir}/${pkgname}-1.7/mate-background-properties/* ${pkgdir}/usr/share/mate-background-properties cp --archive ${srcdir}/${pkgname}-${pkgver}/mate-background-properties/* ${pkgdir}/usr/share/mate-background-properties
} }