summaryrefslogtreecommitdiff
path: root/community/igmpproxy/PKGBUILD
blob: 6bebc58ed3fbbce0c8d84e30255ecd5646dbeeff (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
28
29
30
31
32
33
# $Id: PKGBUILD 80944 2012-12-07 13:00:49Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jan "heftig" Steffens <jan.steffens@gmail.com>
# Contributor: sda <sda00@himki.net>

pkgname=igmpproxy
pkgver=0.1
pkgrel=1
pkgdesc="a simple multicast router for Linux only using the IGMP protocol"
arch=(i686 x86_64 mips64el)
url="http://sourceforge.net/projects/igmpproxy"
license=('GPL')
depends=()
backup=("etc/igmpproxy.conf")
source=("http://downloads.sourceforge.net/sourceforge/igmpproxy/igmpproxy-$pkgver.tar.gz"
	"igmpproxy.rc.d"
	"igmpproxy.service")
md5sums=('c56f41ec195bc1fe016369bf74efc5a1'
         '642054dd586e5b0e7f660863e8131f57'
         '2ff8500f8a59cdfaf910e48cd54ab659')

build() {
  cd $srcdir/$pkgname-$pkgver
  ./configure --prefix=/usr --sysconfdir=/etc
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
  install -Dm755 $srcdir/$pkgname.rc.d $pkgdir/etc/rc.d/$pkgname
  install -Dm644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
}