# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin # Contributor: Zhukov Pavel pkgname=agsync pkgver=0.2_pre _pkgver=${pkgver/_/-} pkgrel=2 pkgdesc="AvantGo sync plugin" arch=('i686' 'x86_64') url="http://duskwood.lownewulf.com/" license=("GPL") depends=('synce-librapi') makedepends=('synce-libsynce') source=(http://duskwood.lownewulf.com/$pkgname-$_pkgver.tgz) md5sums=('74de1b1452a718c85364fab5ce3c0c2a') build() { cd $startdir/src/$pkgname-$_pkgver make || return 1 mkdir -p $startdir/pkg/usr/{bin,lib,include} cp agsync $startdir/pkg/usr/bin/ cp mal-files/mal-funcs.a $startdir/pkg/usr/lib/ cp mal-files/AG{Net,Types}.h $startdir/pkg/usr/include/ }