summaryrefslogtreecommitdiff
path: root/community/agsync/PKGBUILD
blob: 9278d80fbf974178d94f767516301e3fb74d0cd1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# $Id: PKGBUILD 17480 2010-05-24 14:08:11Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Zhukov Pavel <gelios@gmail.com>

pkgname=agsync
pkgver=0.2_pre
_xpkgver=${pkgver/_/-}
pkgrel=3
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 $startdir/src/$pkgname-$_xpkgver
  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/
}