summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMohammadreza Abdollahzadeh2016-08-02 09:13:48 +0430
committerMohammadreza Abdollahzadeh2016-08-02 09:13:48 +0430
commit9afa776f4229f72c55d16892530a5b93746c5b6b (patch)
tree93a49d058cb0cd4b1e0fc7670dc46a4bd3afa79c
parentec2dae66df2ebcebbd568ae3ebaa2cd55ad44e18 (diff)
downloadaur-9afa776f4229f72c55d16892530a5b93746c5b6b.tar.gz
cleaning PKGBUILD
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD19
2 files changed, 10 insertions, 15 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5c65ade5b64f..583fcfd787fd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Tue Aug 2 04:43:18 UTC 2016
pkgbase = trisquel-wallpapers
- pkgdesc = Trisquel GNU/Linux Wallpapers, the default Wallpapers for Trisquel.
+ pkgdesc = The default Wallpapers for Trisquel.
pkgver = 7.0_1
- pkgrel = 2
+ pkgrel = 3
url = http://trisquel.info
arch = any
license = GPL
diff --git a/PKGBUILD b/PKGBUILD
index e4ac73573459..6a520eeb06bc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,26 +1,19 @@
-# Maintainer: Mohammadreza Abdollahzadeh <morealaz@gmail.com>
+# Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com>
pkgname=trisquel-wallpapers
pkgver=7.0_1
-pkgrel=2
-pkgdesc="Trisquel GNU/Linux Wallpapers, the default Wallpapers for Trisquel."
+pkgrel=3
+pkgdesc="The default Wallpapers for Trisquel."
url="http://trisquel.info"
arch=('any')
license=('GPL')
-depends=()
-optdepends=()
-makedepends=()
-backup=()
-install=''
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
+ install -d ${pkgdir}/usr/share/{backgrounds/trisquel,gnome-background-properties,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/