fix: license
This commit is contained in:
parent
a99a5b4a6b
commit
1cd6691664
2
.SRCINFO
2
.SRCINFO
@ -1,7 +1,7 @@
|
|||||||
pkgbase = ubuntu-backgrounds-trusty
|
pkgbase = ubuntu-backgrounds-trusty
|
||||||
pkgdesc = The backgrounds included in Ubuntu 14.04 trusty
|
pkgdesc = The backgrounds included in Ubuntu 14.04 trusty
|
||||||
pkgver = 14.04.0.1
|
pkgver = 14.04.0.1
|
||||||
pkgrel = 1
|
pkgrel = 2
|
||||||
url = https://launchpad.net/ubuntu/+source/ubuntu-wallpapers/14.04.0.1-0ubuntu1
|
url = https://launchpad.net/ubuntu/+source/ubuntu-wallpapers/14.04.0.1-0ubuntu1
|
||||||
arch = any
|
arch = any
|
||||||
license = Commons Attribution-ShareAlike 3.0 Unported
|
license = Commons Attribution-ShareAlike 3.0 Unported
|
||||||
|
10
PKGBUILD
10
PKGBUILD
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
pkgname=ubuntu-backgrounds-trusty
|
pkgname=ubuntu-backgrounds-trusty
|
||||||
pkgver=14.04.0.1
|
pkgver=14.04.0.1
|
||||||
pkgrel=1
|
pkgrel=2
|
||||||
pkgdesc="The backgrounds included in Ubuntu 14.04 trusty"
|
pkgdesc="The backgrounds included in Ubuntu 14.04 trusty"
|
||||||
license=('Commons Attribution-ShareAlike 3.0 Unported')
|
license=('Commons Attribution-ShareAlike 3.0 Unported')
|
||||||
arch=('any')
|
arch=('any')
|
||||||
@ -28,9 +28,8 @@ package() {
|
|||||||
"Water_web_by_Tom_Kijas.jpg"
|
"Water_web_by_Tom_Kijas.jpg"
|
||||||
)
|
)
|
||||||
|
|
||||||
mkdir --parents ${pkgdir}/usr/share/backgrounds/${pkgname}
|
|
||||||
for wallaper in ${wallpapers[@]}; do
|
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
|
done
|
||||||
|
|
||||||
# edit xml
|
# edit xml
|
||||||
@ -51,10 +50,9 @@ package() {
|
|||||||
)
|
)
|
||||||
|
|
||||||
for property_dir in ${property_dirs[@]}; do
|
for property_dir in ${property_dirs[@]}; do
|
||||||
mkdir --parents ${pkgdir}/usr/share/${property_dir}
|
install -D --mode 644 ${srcdir}/ubuntu-wallpapers-${pkgver}/trusty-wallpapers.xml.in ${pkgdir}/usr/share/${property_dir}/trusty-wallpapers.xml
|
||||||
cp --archive ${srcdir}/ubuntu-wallpapers-${pkgver}/trusty-wallpapers.xml.in ${pkgdir}/usr/share/${property_dir}/trusty-wallpapers.xml
|
|
||||||
done
|
done
|
||||||
|
|
||||||
# license
|
# 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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user