Package Details: nas-git r219.f1e8e0d-1

Git Clone URL: https://aur.archlinux.org/nas-git.git (read-only, click to copy)
Package Base: nas-git
Description: Network Audio System is a network transparent, client/server audio transport system. Provides libaudio2.so.
Upstream URL: http://radscan.com/nas.html
Licenses: MIT
Conflicts: libaudio2
Provides: libaudio2
Submitter: seeseemelk
Maintainer: seeseemelk
Last Packager: seeseemelk
Votes: 0
Popularity: 0.000000
First Submitted: 2020-07-07 14:59 (UTC)
Last Updated: 2020-07-07 14:59 (UTC)

Dependencies (5)

Required by (0)

Sources (1)

Latest Comments

haawda commented on 2021-04-11 09:50 (UTC)

Won't build unless you do pretty much the same as in PKGBUILD for stable nas.

# Maintainer: Sebastiaan de Schaetzen <sebastiaan.de.schaetzen@gmail.com>
pkgname=nas-git # '-bzr', '-git', '-hg' or '-svn'
pkgver=r219.f1e8e0d
pkgrel=1
pkgdesc="Network Audio System is a network transparent, client/server audio transport system. Provides libaudio2.so."
arch=('i686' 'x86_64')
url="http://radscan.com/nas.html"
license=('MIT')
depends=('libxaw')
makedepends=('git' 'imake' 'bison' 'flex') # 'bzr', 'git', 'mercurial' or 'subversion'
provides=("libaudio2")
conflicts=("libaudio2")
source=('nas::git+https://git.code.sf.net/p/nas/nas.git')
md5sums=('SKIP')

pkgver() {
    cd "$srcdir/${pkgname%-git}"
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    cd "$srcdir/${pkgname%-git}"
    xmkmf
    make Makefiles
    for f in $(find . -type f -name "Makefile"); do sed -i -r 's/ar clq/ar cq/' "$f"; done
    make cleandir
    make includes
    make depend
    make -k all 
}

package() {
    cd "$srcdir/${pkgname%-git}"
    make install DESTDIR="$pkgdir/"  USRLIBDIR=/usr/lib LDLIBS=-lfl
}