summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammadreza Abdollahzadeh2015-11-10 19:17:20 +0330
committerMohammadreza Abdollahzadeh2015-11-10 19:17:20 +0330
commitec2dae66df2ebcebbd568ae3ebaa2cd55ad44e18 (patch)
tree851edc2ca8f689182b4dfa44c6982c624c9cc368
parent95c1a1c8d75b396aac3069267c1974c20d7ab1b1 (diff)
downloadaur-ec2dae66df2ebcebbd568ae3ebaa2cd55ad44e18.tar.gz
fix gnome and mate backrounds path
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 9 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d64fe0592a40..5c65ade5b64f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index c9d34c6f5163..e4ac73573459 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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/
}