summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: cdf779a8b2fe0c4f86f8c2b4ce1cc07b9426429b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Det <nimetonmaili g-mail>

pkgname=vuze-plugin-countrylocator
_name=CountryLocator
pkgver=1.8.9
pkgrel=1
pkgdesc='A plugin to include country flags in the "Peers" tab'
arch=('any')
url="http://plugins.vuze.com/details/$_name"
license=('GPL2')
depends=('vuze')
source=("http://plugins.vuze.com/plugins/${_name}_$pkgver.jar")
noextract=("${_name}_$pkgver.jar")
md5sums=('3fbf9195a7b806e3c73bc8542e3d4e7c')

package () {
  for i in /opt/vuze*; do
    if [[ -f $i/Azureus2.jar ]]; then
      install -Dm644 ${_name}_$pkgver.jar \
           "$pkgdir"/$i/plugins/$_name/${_name}_$pkgver.jar
    fi
  done
}