From 38e3bc06c90d5d1b3f0376ce5426f744080b03ca Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 6 Aug 2016 19:09:06 -0300 Subject: libvdpau-sunxi-git-r99.427fa6b-4: upstream config files should get backup --- pcr/libvdpau-sunxi-git/PKGBUILD | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/pcr/libvdpau-sunxi-git/PKGBUILD b/pcr/libvdpau-sunxi-git/PKGBUILD index 04db80814..c02a41582 100644 --- a/pcr/libvdpau-sunxi-git/PKGBUILD +++ b/pcr/libvdpau-sunxi-git/PKGBUILD @@ -3,13 +3,19 @@ # Maintainer: André Silva pkgname=libvdpau-sunxi-git pkgver=r99.427fa6b -pkgrel=3 +pkgrel=4 pkgdesc="VDPAU driver for Allwinner sunxi SoCs" arch=('armv7h') url="https://github.com/linux-sunxi/libvdpau-sunxi" license=('LGPL') depends=('libx11' 'libcedrus-git' 'pixman') makedepends=('git' 'libvdpau') +backup=('etc/modules-load.d/sunxi-cedar.conf' + 'etc/profile.d/libvdpau.sh' + 'etc/udev/rules.d/50-cedar.rules' + 'etc/udev/rules.d/50-disp.rules' + 'etc/udev/rules.d/50-g2d.rules' + 'etc/udev/rules.d/50-ion.rules') provides=("${pkgname%-git}") conflicts=("${pkgname%-git}") source=("git+https://github.com/linux-sunxi/${pkgname%-git}" @@ -40,8 +46,8 @@ build() { package() { cd ${pkgname%-git} make DESTDIR="$pkgdir/" install - install -dm755 $pkgdir/etc/{udev/rules.d,{modules-load,profile}.d} - install -Dm644 $srcdir/50-{cedar,disp,g2d,ion}.rules $pkgdir/etc/udev/rules.d - install -Dm755 $srcdir/libvdpau.sh $pkgdir/etc/profile.d + install -dm755 $pkgdir/etc/{{modules-load,profile}.d,udev/rules.d} install -Dm644 $srcdir/sunxi-cedar.conf $pkgdir/etc/modules-load.d + install -Dm755 $srcdir/libvdpau.sh $pkgdir/etc/profile.d + install -Dm644 $srcdir/50-{cedar,disp,g2d,ion}.rules $pkgdir/etc/udev/rules.d } -- cgit v1.2.3