summaryrefslogtreecommitdiff
path: root/community/nas/PKGBUILD
blob: dd6d3ad6cd35efa814bfc006c7ffa866efd1f3cb (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
34
35
# $Id: PKGBUILD 21701 2010-07-16 22:42:31Z tdziedzic $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=nas
pkgver=1.9.2
pkgrel=2
pkgdesc='Network Audio System is a network transparent, client/server audio transport system'
arch=('i686' 'x86_64' 'mips64el')
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=('ed7864f55b384452167959022cfb403b'
         '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
}