mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
31 lines
1.1 KiB
Bash
31 lines
1.1 KiB
Bash
# $Id: PKGBUILD 44711 2009-07-03 18:13:09Z jgc $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=totem-plugin
|
|
pkgver=2.26.3
|
|
pkgrel=1
|
|
url="http://www.hadess.net/totem.php3"
|
|
pkgdesc="Totem mozilla/firefox plugin"
|
|
arch=(i686 x86_64)
|
|
license=('GPL')
|
|
depends=('totem>=2.26.3')
|
|
makedepends=('intltool' 'iso-codes' 'gnome-icon-theme>=2.24.0' 'xulrunner>=1.9.1' 'gstreamer0.10-base' 'gstreamer0.10-good-plugins' 'gnome-doc-utils>=0.16.0' 'pkgconfig' 'diffutils')
|
|
options=('!libtool' '!emptydirs')
|
|
source=(http://ftp.gnome.org/pub/gnome/sources/totem/2.26/totem-${pkgver}.tar.bz2)
|
|
md5sums=('f8f7390f5d93268cd200086a1b4f765a')
|
|
|
|
build() {
|
|
cd "${srcdir}/totem-${pkgver}"
|
|
LD_PRELOAD="" ./configure --prefix=/usr --sysconfdir=/etc \
|
|
--libexecdir=/usr/lib/totem \
|
|
--localstatedir=/var --disable-static || return 1
|
|
make || return 1
|
|
pushd browser-plugin || return 1
|
|
make plugindir=/usr/lib/mozilla/plugins \
|
|
xptdir=/usr/lib/mozilla/plugins \
|
|
DESTDIR="${pkgdir}" install || return 1
|
|
popd
|
|
|
|
rm -f "${pkgdir}/usr/lib/totem/totem-plugin-viewer" || return 1
|
|
rm -rf "${pkgdir}/usr/share" || return 1
|
|
}
|