From 6d0f77d8fecf8bd4166d90d50a1f635d16395c5d Mon Sep 17 00:00:00 2001 From: Markus Pesch Date: Sat, 4 Jan 2020 22:14:19 +0100 Subject: [PATCH] fix(PKGBUILD): use pkgver variable instead static version --- .SRCINFO | 2 +- PKGBUILD | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 629d2bf..6c0c114 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = mint-backgrounds-olivia pkgdesc = The backgrounds included in Linux Mint 15 Olivia pkgver = 1.7 - pkgrel = 1 + pkgrel = 2 url = http://packages.linuxmint.com/pool/main/m/mint-backgrounds-olivia arch = any license = Various diff --git a/PKGBUILD b/PKGBUILD index ab01d36..8f51141 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=mint-backgrounds-olivia pkgver=1.7 -pkgrel=1 +pkgrel=2 pkgdesc="The backgrounds included in Linux Mint 15 Olivia" license=('Various') arch=('any') @@ -14,8 +14,8 @@ package() { mkdir --parents ${pkgdir}/usr/share/backgrounds/linuxmint-olivia 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}-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-olivia ${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 }