[PD] Archlinux packages (was: enhance...)

Charles Goyard cg at fsck.fr
Fri Feb 8 11:36:34 CET 2013


Hi,

thanks.

Here's a PKGBUILD for pdsend/pdreceive alone, duplicating how debian
packages are organized.

Now it would be a good thing to have the pd, pd-extended and pd-l2ork
drop these two binaries, so there are almost nothing left in conflict.

And also have pd-l2ork install in /usr, not /usr/local.

Cheers,
Charles

Fero Kiraly wrote:
> I just now updated archlinux packages.
> pd-l2ork now installs to /usr/local... so that prevent collision to pd-ext.

-------------- next part --------------
# $Id:$
# Maintainer : to be found

pkgname=puredata-utils
pkgver=0.44.2
_ver=${pkgver%.*}-${pkgver##*.}
pkgrel=1
pkgdesc="pdsend and pdreceive for Pure Data"
arch=('i686' 'x86_64')
url="http://crca.ucsd.edu/~msp/software.html"
license=('custom:BSD')
optdepends=('puredata')
source=("http://crca.ucsd.edu/~msp/Software/pd-$_ver.src.tar.gz")
md5sums=('629ba1ba04d3db29874ea6902c94f9f0')

build() {
  cd "$srcdir/pd-$_ver/src"
  gcc -o pdsend u_pdsend.c
  gcc -o pdreceive u_pdreceive.c
}

package() {
  install -Dm755 "$srcdir/pd-$_ver/src/pdsend"      "$pkgdir/usr/bin/pdsend"
  install -Dm755 "$srcdir/pd-$_ver/src/pdreceive"   "$pkgdir/usr/bin/pdreceive"
  install -Dm644 "$srcdir/pd-$_ver/man/pdsend.1"    "$pkgdir/usr/man/man1/pdsend.1"
  install -Dm644 "$srcdir/pd-$_ver/man/pdreceive.1" "$pkgdir/usr/man/man1/pdreceive.1"
  install -Dm644 "$srcdir/pd-$_ver/LICENSE.txt"     "$pkgdir/usr/share/licenses/pd-utils/LICENSE"
}



More information about the Pd-list mailing list