summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a4553dffa4b6f3bb02d62969ae4d09409f167611 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Maintainer: Stefan Seering <stefanarch@gmx.de>
pkgname=teamspeak3-plugin-massmover
pkgver='0.57.20'
pkgrel='2'
pkgdesc='Plugin for Teamspeak 3. Allows moving several users at once.'
arch=('i686' 'x86_64')
url='http://addons.teamspeak.com/directory/plugins/miscellaneous/TS3MassMover.html'
license=('Unknown')
makedepends=('teamspeak3') # the teamspeak package contains C header files
depends=('teamspeak3')
source=('TS3MassMover-v0.57.20.zip::http://addons.teamspeak.com/directory/addon/download/TS3MassMover.html')
sha1sums=('c912cd911d66b3a3fe2b9c502f5b64cb72386ecc')
replaces=('teamspeak-plugin-massmover')
conflicts=('teamspeak-plugin-massmover')

build() {
  cd -- "$srcdir/source"
  c++ ${CXXFLAGS} ${LDFLAGS} -shared -I /opt/teamspeak3/pluginsdk/include -fPIC -o TS3MassMover.so plugin.cpp
}

package() {
  cd -- "$srcdir/source"
  mkdir -p -- "$pkgdir/opt/teamspeak3/plugins"
  cp -- TS3MassMover.so "$pkgdir/opt/teamspeak3/plugins"
}

# vim:set ts=2 sw=2 et: