summaryrefslogtreecommitdiff
path: root/community/agsync/PKGBUILD
blob: da0d64a166ceee96075411663e1db322f1af354e (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 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/
}