diff options
author | Michael Straube | 2017-01-22 15:20:34 +0100 |
---|---|---|
committer | Michael Straube | 2017-01-22 15:20:34 +0100 |
commit | 6c118e178106daff394be577afc8ba538926a28f (patch) | |
tree | 7f8c01d995fda78f7e721169359d072bf9756d61 /PKGBUILD | |
parent | 013206d31805659fa73f2e535389b6932e358921 (diff) | |
download | aur-6c118e178106daff394be577afc8ba538926a28f.tar.gz |
Use Arch's CFLAGS
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -2,7 +2,7 @@ pkgname=vlc-pause-click-plugin pkgver=0.3.0 -pkgrel=1 +pkgrel=2 pkgdesc='This plugin allows you to pause/play a video by clicking on the video image' arch=('i686' 'x86_64') license=('LGPL') @@ -11,6 +11,13 @@ 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+ |