diff options
author | WorMzy Tykashi | 2016-10-14 17:35:40 +0100 |
---|---|---|
committer | WorMzy Tykashi | 2016-10-14 17:35:40 +0100 |
commit | 25f41d8187f10776afecdd7eba6b36a6b84caf57 (patch) | |
tree | a7c46acd19d6c6cb2b04769039c853f76a231a8d /PKGBUILD | |
parent | 8f644abe87b8bfea2810fa3db9b137a1b4d941fb (diff) | |
download | aur-25f41d8187f10776afecdd7eba6b36a6b84caf57.tar.gz |
remove optdeps and depend on pepper-flash directly. Kill tabs with fire
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 10 insertions, 19 deletions
@@ -7,42 +7,33 @@ # Contributor: zman0900 <zman0900@gmail.com> pkgname=freshplayerplugin-git -pkgver=0.3.5.r24.gc0510ba +pkgver=0.3.6.r2.gf550545 pkgrel=1 pkgdesc='PPAPI-host NPAPI-plugin adapter.' arch=('i686' 'x86_64') url='https://github.com/i-rinat/freshplayerplugin' license=('MIT') -depends=('pango' 'alsa-lib' 'freetype2' 'libevent' 'libgl' 'v4l-utils' 'ffmpeg' 'icu' 'libxrandr' 'libxcursor') +depends=('pango' 'alsa-lib' 'freetype2' 'libevent' 'libgl' 'v4l-utils' 'ffmpeg' 'icu' 'libxrandr' 'libxcursor' 'pepper-flash') makedepends=('cmake' 'ragel' 'git') conflicts=('freshplayerplugin') source=("${pkgname}::git+${url}") -install="${pkgname}.install" sha1sums=('SKIP') -optdepends=( - 'chromium-pepper-flash: for the necessary Pepper plugin' - 'chromium-pepper-flash-standalone: for the necessary Pepper plugin' - 'google-chrome: for the necessary Pepper plugin' - 'google-chrome-beta: for the necessary Pepper plugin' - 'google-chrome-dev: for the necessary Pepper plugin' -) - pkgver() { - cd "$pkgname" + cd "$pkgname" git describe --tags | sed -e 's:v::' -e 's:-:.r:' -e 's:-:.:g' } build() { - cd "$pkgname" - cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr - make + cd "$pkgname" + cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr + make } package() { - cd "$pkgname" - make DESTDIR="${pkgdir}" install + cd "$pkgname" + make DESTDIR="${pkgdir}" install - install -Dm644 data/freshwrapper.conf.example "${pkgdir}/usr/share/${pkgname}/freshwrapper.conf.example" - install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm644 data/freshwrapper.conf.example "${pkgdir}/usr/share/${pkgname}/freshwrapper.conf.example" + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" } |