fix(PKGBUILD): use pkgver variable instead static version
This commit is contained in:
parent
518b041c73
commit
447c5a604e
2
.SRCINFO
2
.SRCINFO
@ -1,7 +1,7 @@
|
|||||||
pkgbase = mint-backgrounds-nadia
|
pkgbase = mint-backgrounds-nadia
|
||||||
pkgdesc = The backgrounds included in Linux Mint 14 Nadia
|
pkgdesc = The backgrounds included in Linux Mint 14 Nadia
|
||||||
pkgver = 1.4
|
pkgver = 1.4
|
||||||
pkgrel = 2
|
pkgrel = 3
|
||||||
url = http://packages.linuxmint.com/pool/main/m/mint-backgrounds-nadia
|
url = http://packages.linuxmint.com/pool/main/m/mint-backgrounds-nadia
|
||||||
arch = any
|
arch = any
|
||||||
license = Various
|
license = Various
|
||||||
|
10
PKGBUILD
10
PKGBUILD
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
pkgname=mint-backgrounds-nadia
|
pkgname=mint-backgrounds-nadia
|
||||||
pkgver=1.4
|
pkgver=1.4
|
||||||
pkgrel=2
|
pkgrel=3
|
||||||
pkgdesc="The backgrounds included in Linux Mint 14 Nadia"
|
pkgdesc="The backgrounds included in Linux Mint 14 Nadia"
|
||||||
license=('Various')
|
license=('Various')
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -14,8 +14,8 @@ package() {
|
|||||||
mkdir --parents ${pkgdir}/usr/share/backgrounds/linuxmint-nadia
|
mkdir --parents ${pkgdir}/usr/share/backgrounds/linuxmint-nadia
|
||||||
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.4/backgrounds/linuxmint-nadia ${pkgdir}/usr/share/backgrounds
|
cp --archive ${srcdir}/${pkgname}-${pkgver}/backgrounds/linuxmint-nadia ${pkgdir}/usr/share/backgrounds
|
||||||
cp --archive ${srcdir}/${pkgname}-1.4/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.4/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.4/mate-background-properties/* ${pkgdir}/usr/share/mate-background-properties
|
cp --archive ${srcdir}/${pkgname}-${pkgver}/mate-background-properties/* ${pkgdir}/usr/share/mate-background-properties
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user