You've already forked mint-backgrounds-petra-pkg
fix(PKGBUILD): use pkgver variable instead static version
This commit is contained in:
10
PKGBUILD
10
PKGBUILD
@ -2,7 +2,7 @@
|
||||
|
||||
pkgname=mint-backgrounds-petra
|
||||
pkgver=1.7
|
||||
pkgrel=1
|
||||
pkgrel=2
|
||||
pkgdesc="The backgrounds included in Linux Mint 16 Petra"
|
||||
license=('Various')
|
||||
arch=('any')
|
||||
@ -14,8 +14,8 @@ package() {
|
||||
mkdir --parents ${pkgdir}/usr/share/backgrounds/linuxmint-petra
|
||||
mkdir --parents ${pkgdir}/usr/share/{cinnamon-background-properties,gnome-background-properties,mate-background-properties}
|
||||
|
||||
cp --archive ${srcdir}/${pkgname}-1.7/backgrounds/linuxmint-petra ${pkgdir}/usr/share/backgrounds
|
||||
cp --archive ${srcdir}/${pkgname}-1.7/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}-1.7/mate-background-properties/* ${pkgdir}/usr/share/mate-background-properties
|
||||
cp --archive ${srcdir}/${pkgname}-${pkgver}/backgrounds/linuxmint-petra ${pkgdir}/usr/share/backgrounds
|
||||
cp --archive ${srcdir}/${pkgname}-${pkgver}/cinnamon-background-properties/* ${pkgdir}/usr/share/cinnamon-background-properties
|
||||
cp --archive ${srcdir}/${pkgname}-${pkgver}/gnome-background-properties/* ${pkgdir}/usr/share/gnome-background-properties
|
||||
cp --archive ${srcdir}/${pkgname}-${pkgver}/mate-background-properties/* ${pkgdir}/usr/share/mate-background-properties
|
||||
}
|
||||
|
Reference in New Issue
Block a user