updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / pd-comport / PKGBUILD
blobd19301e94808bc465f65e500556321d7575a1714
1 pdname=comport
2 pkgname=pd-$pdname
3 pkgver=0.1
4 pkgrel=1
5 pkgdesc="Pd object for reading and writing to serial ports"
6 arch=('i686' 'x86_64')
7 url="http://puredata.info/community/projects/software/comport"
8 license=('LGPL')
9 groups=('pd-externals')
10 depends=('pd')
11 source=(https://sourceforge.net/projects/pure-data/files/libraries/comport/$pdname-$pkgver.tar.gz/download)
12 md5sums=('82497d5d4ac60dd0803b3909c8706cf2')
14 build() {
15   cd "$srcdir/$pdname-$pkgver"
16   sed -i "s@/usr/local@/usr@" Makefile
17   sed -i "s@/pd-externals@/pd/extra@" Makefile
18   make
21 package() {
22   cd "$srcdir/$pdname-$pkgver"
23   make DESTDIR="$pkgdir/" install