summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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
}