summaryrefslogtreecommitdiff
path: root/extra/mono-upnp/PKGBUILD
blob: 02b0d806bba1dab2ab1010d3f2d81355ffd67bf4 (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
# $Id: PKGBUILD 154079 2012-03-22 17:57:25Z daniel $
# Maintainer: Daniel Isenmann <daniel@archlinux.org>
# Contributor: Balló György <ballogyor+arch at gmail dot com>

pkgname=mono-upnp
pkgver=0.1.1
pkgrel=1
pkgdesc="UPNP binding for Mono/.NET"
arch=('i686' 'x86_64')
url="https://github.com/mono/mono-upnp"
license=('MIT')
depends=('gtk-sharp-2' 'mono-addins' 'taglib-sharp')
source=(ftp://ftp.archlinux.org/other/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('35b3e2ab07407eed018a5b24c22241aa')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  ./autogen.sh --help
  
  sed -i 's/nunit/mono-nunit/' configure tests/*/Makefile.in
  ./configure --prefix=/usr

  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"

  make DESTDIR="$pkgdir/" install

  install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}