summaryrefslogtreecommitdiff
path: root/community/agsync/PKGBUILD
blob: 318010c227711d36cd073cca6e8bdebc6d15a1f1 (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' 'mips64el')
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/
}