summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-06 19:09:06 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-08-06 19:20:45 -0300
commit38e3bc06c90d5d1b3f0376ce5426f744080b03ca (patch)
tree92d37cc5e9cf410cdec15d7cfcdeeb8839d6e085
parent92df0dc53dab816fe091aa184d6002a546b396c7 (diff)
downloadabslibre-38e3bc06c90d5d1b3f0376ce5426f744080b03ca.tar.gz
abslibre-38e3bc06c90d5d1b3f0376ce5426f744080b03ca.tar.bz2
abslibre-38e3bc06c90d5d1b3f0376ce5426f744080b03ca.zip
libvdpau-sunxi-git-r99.427fa6b-4: upstream config files should get backup
-rw-r--r--pcr/libvdpau-sunxi-git/PKGBUILD14
1 files 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 <emulatorman@parabola.nu>
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
}