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 | |
parent | 013206d31805659fa73f2e535389b6932e358921 (diff) | |
download | aur-6c118e178106daff394be577afc8ba538926a28f.tar.gz |
Use Arch's CFLAGS
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 9 insertions, 2 deletions
@@ -1,7 +1,7 @@ pkgbase = vlc-pause-click-plugin pkgdesc = This plugin allows you to pause/play a video by clicking on the video image pkgver = 0.3.0 - pkgrel = 1 + pkgrel = 2 url = https://github.com/nurupo/vlc-pause-click-plugin arch = i686 arch = x86_64 @@ -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+ |