PKGBUILDs/community/agsync/PKGBUILD
2009-10-09 21:15:33 -05:00

25 lines
741 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Zhukov Pavel <gelios@gmail.com>
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/
}