diff options
author | OmeGa | 2015-07-07 03:01:41 -0500 |
---|---|---|
committer | OmeGa | 2015-07-07 03:01:41 -0500 |
commit | 6b9a72e939f8e658bd030cab83c60d5a21cca928 (patch) | |
tree | 038ff5bda55c82325ed5ed63b19a37ba30c3ae16 /PKGBUILD | |
download | aur-firefox-extension-omnibar.tar.gz |
Initial import
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..5138d3e0fb2c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: OmeGa <omega [U+0040] mailoo [.] org> + +pkgname=firefox-extension-omnibar +_file=278824 +pkgver=0.7.28.20141004 +pkgrel=1 +pkgdesc="Integrates the location bar and the search bar into one." +arch=('any') +url="https://addons.mozilla.org/en-US/firefox/addon/8823" +license=('MPL') +depends=('firefox') +source=(https://addons.mozilla.org/firefox/downloads/file/$_file/omnibar-$pkgver.xpi) +sha1sums=('7fb603a37762c6af3c38c321f0c96baaca9fe69c') + +package() { + cd "$srcdir" + local emid=$(sed -n '/.*<em:id>\(.*\)<\/em:id>.*/{s//\1/p;q}' install.rdf) + local dstdir="$pkgdir/usr/lib/firefox/browser/extensions/$emid" + find . -type f -exec install -Dm644 '{}' "$dstdir/{}" \; +} + +# vim:set ts=2 sw=2 et: |