diff options
author | Mohammadreza Abdollahzadeh | 2018-04-29 20:41:56 +0430 |
---|---|---|
committer | Mohammadreza Abdollahzadeh | 2018-04-29 20:41:56 +0430 |
commit | 08fffdba1266c9b7fbd59ff9a43f021c9b2dba08 (patch) | |
tree | 36183f64d15b82ba7867ea279ab04e5aab107fc9 | |
parent | 9afa776f4229f72c55d16892530a5b93746c5b6b (diff) | |
download | aur-trisquel-wallpapers.tar.gz |
update to v8.0-1
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 20 insertions, 16 deletions
@@ -1,14 +1,14 @@ # Generated by mksrcinfo v8 -# Tue Aug 2 04:43:18 UTC 2016 +# Sun Apr 29 16:11:31 UTC 2018 pkgbase = trisquel-wallpapers pkgdesc = The default Wallpapers for Trisquel. - pkgver = 7.0_1 - pkgrel = 3 + pkgver = 8.0_1 + pkgrel = 1 url = http://trisquel.info arch = any license = GPL - source = http://archive.trisquel.info/trisquel/pool/main/t/trisquel-wallpapers/trisquel-wallpapers_7.0-1.tar.gz - md5sums = a4454ea0eb82977dd239468af80c5300 + source = http://archive.trisquel.info/trisquel/pool/main/t/trisquel-wallpapers/trisquel-wallpapers_8.0-1.tar.gz + sha256sums = c130095a3609e726d72770e96e9b823d2369d5c1634ec2ebd9291896478c5ea8 pkgname = trisquel-wallpapers @@ -1,20 +1,24 @@ # Maintainer: Mohammadreza Abdollahzadeh <morealaz at gmail dot com> - pkgname=trisquel-wallpapers -pkgver=7.0_1 -pkgrel=3 +pkgver=8.0_1 +pkgrel=1 pkgdesc="The default Wallpapers for Trisquel." url="http://trisquel.info" arch=('any') license=('GPL') source=("http://archive.trisquel.info/trisquel/pool/main/t/trisquel-wallpapers/${pkgname}_${pkgver/_/-}.tar.gz") -md5sums=('a4454ea0eb82977dd239468af80c5300') - +sha256sums=('c130095a3609e726d72770e96e9b823d2369d5c1634ec2ebd9291896478c5ea8') + +prepare() { + cd ${pkgname} + sed -i 's_/usr/share/backgrounds/_/usr/share/backgrounds/trisquel/_g' ./data/usr/share/gnome-background-properties/trisquel-wallpapers.xml + sed -i 's/gnome-wp-list.dtd/mate-wp-list.dtd/' ./data/usr/share/gnome-background-properties/trisquel-wallpapers.xml +} package() { - 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/ + cd ${pkgname} + install -d ${pkgdir}/usr/share/{backgrounds/trisquel,gnome-background-properties,mate-background-properties} + cp ./data/usr/share/backgrounds/* ${pkgdir}/usr/share/backgrounds/trisquel/ + cp ./data/usr/share/gnome-background-properties/trisquel-wallpapers.xml ${pkgdir}/usr/share/gnome-background-properties/ + cp ./data/usr/share/gnome-background-properties/trisquel-wallpapers.xml ${pkgdir}/usr/share/mate-background-properties/ } +# vim:set ts=2 sw=2 et: |