# Maintainer: Michael Straube pkgname=vlc-pause-click-plugin pkgver=0.3.0 pkgrel=2 pkgdesc='This plugin allows you to pause/play a video by clicking on the video image' arch=('i686' 'x86_64') license=('LGPL') url='https://github.com/nurupo/vlc-pause-click-plugin' depends=('vlc') source=("$pkgname-$pkgver.tar.gz::https://github.com/nurupo/$pkgname/archive/$pkgver.tar.gz") sha256sums=('b91797713249f4e2bbeb9b5226f7daaf8d15c700b9e0abbd2b6ba0bef7f00573') prepare() { cd $pkgname-$pkgver/vlc-2.2.x+ # Use Arch's CFLAGS sed -i "s/CFLAGS = -g -O2/CFLAGS = $CFLAGS/" Makefile } build() { cd $pkgname-$pkgver/vlc-2.2.x+ make } package() { cd $pkgname-$pkgver/vlc-2.2.x+ make DESTDIR="$pkgdir" install }