diff --git a/.SRCINFO b/.SRCINFO index ae07563..076ad7e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = ubuntu-backgrounds-trusty pkgdesc = The backgrounds included in Ubuntu 14.04 trusty pkgver = 14.04.0.1 - pkgrel = 1 + pkgrel = 2 url = https://launchpad.net/ubuntu/+source/ubuntu-wallpapers/14.04.0.1-0ubuntu1 arch = any license = Commons Attribution-ShareAlike 3.0 Unported diff --git a/PKGBUILD b/PKGBUILD index 5345080..a5a4669 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=ubuntu-backgrounds-trusty pkgver=14.04.0.1 -pkgrel=1 +pkgrel=2 pkgdesc="The backgrounds included in Ubuntu 14.04 trusty" license=('Commons Attribution-ShareAlike 3.0 Unported') arch=('any') @@ -28,9 +28,8 @@ package() { "Water_web_by_Tom_Kijas.jpg" ) - mkdir --parents ${pkgdir}/usr/share/backgrounds/${pkgname} for wallaper in ${wallpapers[@]}; do - cp --archive ${srcdir}/ubuntu-wallpapers-${pkgver}/${wallaper} ${pkgdir}/usr/share/backgrounds/${pkgname}/${wallaper} + install -D --mode 644 ${srcdir}/ubuntu-wallpapers-${pkgver}/${wallaper} ${pkgdir}/usr/share/backgrounds/${pkgname}/${wallaper} done # edit xml @@ -51,10 +50,9 @@ package() { ) for property_dir in ${property_dirs[@]}; do - mkdir --parents ${pkgdir}/usr/share/${property_dir} - cp --archive ${srcdir}/ubuntu-wallpapers-${pkgver}/trusty-wallpapers.xml.in ${pkgdir}/usr/share/${property_dir}/trusty-wallpapers.xml + install -D --mode 644 ${srcdir}/ubuntu-wallpapers-${pkgver}/trusty-wallpapers.xml.in ${pkgdir}/usr/share/${property_dir}/trusty-wallpapers.xml done # license - install -D --mode 644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + install -D --mode 644 ${srcdir}/ubuntu-wallpapers-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE }