summaryrefslogtreecommitdiff
path: root/community/nas/PKGBUILD
blob: 62c62ddf0e46d4a0e6770c564f769daf9e2d0642 (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 53530 2011-08-05 06:06:18Z bfanella $
# Maintainer: Brad Fanella <bradfanella@archlinux.us>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=nas
pkgver=1.9.3
pkgrel=1
pkgdesc='Network Audio System is a network transparent, client/server audio transport system'
arch=('i686' 'x86_64')
url='http://radscan.com/nas.html'
license=('custom')
depends=('libxaw')
makedepends=('imake')
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.src.tar.gz"
        'license.txt')
md5sums=('ecd01a3b4e17a9d464efa83a03618025'
         'f11eb8c3fb83946e66e60f7532e8d5da')

build() {
  	cd ${pkgname}-${pkgver}

  	xmkmf
  	make World
}

package() {
  	cd ${pkgname}-${pkgver}

  	make DESTDIR=${pkgdir} USRLIBDIR=/usr/lib install
	chmod 644 ${pkgdir}/usr/include/audio/*
	install -D -m644 ${srcdir}/license.txt ${pkgdir}/usr/share/licenses/${pkgname}/license
}