diff options
Diffstat (limited to 'community/ussp-push/PKGBUILD')
-rw-r--r-- | community/ussp-push/PKGBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/ussp-push/PKGBUILD b/community/ussp-push/PKGBUILD new file mode 100644 index 000000000..1c4fc9c5d --- /dev/null +++ b/community/ussp-push/PKGBUILD @@ -0,0 +1,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') +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 +} |