fix: license

This commit is contained in:
Markus Pesch 2020-04-23 16:34:32 +02:00
parent a99a5b4a6b
commit 1cd6691664
Signed by: volker.raschek
GPG Key ID: 852BCC170D81A982
2 changed files with 5 additions and 7 deletions

View File

@ -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

View File

@ -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
}