PKGBUILDs/community/arch-firefox-search/PKGBUILD
2009-10-09 21:15:33 -05:00

50 lines
2 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=arch-firefox-search
pkgver=0.7
_ffver=3.5
pkgrel=5
pkgdesc="Firefox Arch search engines (AUR, Pkgs, BBS, Wiki, etc.)"
arch=(i686 x86_64)
url="http://archlinux.org"
license=('GPL')
depends=(firefox)
replaces=('arch-firefox3-search')
source=(arch.gif arch.src \
aur.gif aur.src \
arch-forum-a.gif arch-forum-a.src \
arch-forum-c.gif arch-forum-c.src \
arch-wiki.gif arch-wiki.src \
arch-bugs.gif arch-bugs.src)
md5sums=('f81cf9fe06840d32c78a37b0ff348839'
'93c66cd8a6fcfd3559ba67c7fa88d54d'
'f81cf9fe06840d32c78a37b0ff348839'
'f2976bbaca7d13f1f929b33f8bd1f5e4'
'f81cf9fe06840d32c78a37b0ff348839'
'9228e6ed6ef28dc0ef84ba17df94bf29'
'f81cf9fe06840d32c78a37b0ff348839'
'c34fa8355772fcd38af106b9094d9cb1'
'f81cf9fe06840d32c78a37b0ff348839'
'1147f167dba80de37ceea6b6a815a802'
'f81cf9fe06840d32c78a37b0ff348839'
'6b4315d4b442c41a66ae5485f4a9dc35')
build() {
cd $srcdir
local _prefix=$pkgdir/usr/lib/firefox-${_ffver}/searchplugins
install -D -m 0644 arch.src ${_prefix}/arch.src && \
install -D -m 0644 arch.gif ${_prefix}/arch.gif && \
install -D -m 0644 arch-wiki.src ${_prefix}/arch-wiki.src && \
install -D -m 0644 arch-wiki.gif ${_prefix}/arch-wiki.gif && \
install -D -m 0644 arch-bugs.src ${_prefix}/arch-bugs.src && \
install -D -m 0644 arch-bugs.gif ${_prefix}/arch-bugs.gif && \
install -D -m 0644 arch-forum-c.src ${_prefix}/arch-forum-c.src && \
install -D -m 0644 arch-forum-c.gif ${_prefix}/arch-forum-c.gif && \
install -D -m 0644 arch-forum-a.src ${_prefix}/arch-forum-a.src && \
install -D -m 0644 arch-forum-a.gif ${_prefix}/arch-forum-a.gif && \
install -D -m 0644 aur.src ${_prefix}/aur.src && \
install -D -m 0644 aur.gif ${_prefix}/aur.gif
}