diff options
author | Mohammadreza Abdollahzadeh | 2015-11-10 19:17:20 +0330 |
---|---|---|
committer | Mohammadreza Abdollahzadeh | 2015-11-10 19:17:20 +0330 |
commit | ec2dae66df2ebcebbd568ae3ebaa2cd55ad44e18 (patch) | |
tree | 851edc2ca8f689182b4dfa44c6982c624c9cc368 | |
parent | 95c1a1c8d75b396aac3069267c1974c20d7ab1b1 (diff) | |
download | aur-ec2dae66df2ebcebbd568ae3ebaa2cd55ad44e18.tar.gz |
fix gnome and mate backrounds path
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 10 |
2 files changed, 9 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = trisquel-wallpapers pkgdesc = Trisquel GNU/Linux Wallpapers, the default Wallpapers for Trisquel. pkgver = 7.0_1 - pkgrel = 1 + pkgrel = 2 url = http://trisquel.info arch = any license = GPL @@ -2,7 +2,7 @@ pkgname=trisquel-wallpapers pkgver=7.0_1 -pkgrel=1 +pkgrel=2 pkgdesc="Trisquel GNU/Linux Wallpapers, the default Wallpapers for Trisquel." url="http://trisquel.info" arch=('any') @@ -12,10 +12,16 @@ optdepends=() makedepends=() backup=() install='' -source=("http://archive.trisquel.info/trisquel/pool/main/t/trisquel-wallpapers/trisquel-wallpapers_${pkgver/_/-}.tar.gz") +source=("http://archive.trisquel.info/trisquel/pool/main/t/trisquel-wallpapers/${pkgname}_${pkgver/_/-}.tar.gz") md5sums=('a4454ea0eb82977dd239468af80c5300') package() { install -dm755 ${pkgdir}/usr/share/backgrounds/Trisquel + install -dm755 ${pkgdir}/usr/share/gnome-background-properties + install -dm755 ${pkgdir}/usr/share/mate-background-properties cp ${srcdir}/trisquel-wallpapers/data/usr/share/backgrounds/* ${pkgdir}/usr/share/backgrounds/Trisquel/ + sed -i 's_/usr/share/backgrounds/_/usr/share/backgrounds/Trisquel/_g' ${srcdir}/trisquel-wallpapers/data/usr/share/gnome-background-properties/trisquel-wallpapers.xml + cp ${srcdir}/trisquel-wallpapers/data/usr/share/gnome-background-properties/trisquel-wallpapers.xml ${pkgdir}/usr/share/gnome-background-properties/ + sed -i 's/gnome-wp-list.dtd/mate-wp-list.dtd/' ${srcdir}/trisquel-wallpapers/data/usr/share/gnome-background-properties/trisquel-wallpapers.xml + cp ${srcdir}/trisquel-wallpapers/data/usr/share/gnome-background-properties/trisquel-wallpapers.xml ${pkgdir}/usr/share/mate-background-properties/ } |