summaryrefslogtreecommitdiff
path: root/community/ussp-push/PKGBUILD
blob: c0a6e4e1ff127a4ff8a85e64b9ac512fb20993af (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
26
27
28
29
30
31
32
33
34
# $Id: PKGBUILD 92147 2013-06-01 15:32:36Z eric $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Giovanni Scafora <linuxmania@gmail.com>
# Contributor: Alessio 'mOLOk' Bolognino <themolok@gmail.com>

pkgname=ussp-push
pkgver=0.11
pkgrel=6
pkgdesc="OBEX object pusher for Linux"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
url="http://xmailserver.org/ussp-push.html"
depends=('openobex')
source=(http://xmailserver.org/$pkgname-$pkgver.tar.gz
	build-fix.patch)
md5sums=('5c44983ee27809867041feff6bb4423a'
         'b9020ea9bb34b811206366b407f5e3cd')

prepare() {
  cd $srcdir/$pkgname-$pkgver
  patch -p1 <$srcdir/build-fix.patch
}

build() {
  cd $srcdir/$pkgname-$pkgver
  export LDFLAGS="$LDFLAGS -lopenobex-apps-common"
  ./configure --prefix=/usr
  make
}

package() {
  cd $srcdir/$pkgname-$pkgver
  make DESTDIR=$pkgdir install
}