# $Id: PKGBUILD 65031 2012-02-20 02:09:59Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> # Contributor: Zhukov Pavel <gelios@gmail.com> pkgname=agsync pkgver=0.2_pre _xpkgver=${pkgver/_/-} pkgrel=4 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-$_xpkgver.tgz) md5sums=('74de1b1452a718c85364fab5ce3c0c2a') build() { cd $srcdir/$pkgname-$_xpkgver make mkdir -p $pkgdir/usr/{bin,lib,include} cp agsync $pkgdir/usr/bin/ cp mal-files/mal-funcs.a $pkgdir/usr/lib/ cp mal-files/AG{Net,Types}.h $pkgdir/usr/include/ }