updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / dcsharp / PKGBUILD
blob9a2c671d60207ae7cbd8f356bb12e5a9d8ec9e86
1 # Contributor: Christoph Zeiler <archNOSPAM_at_moonblade.dot.org>
2 # Contributor: Lucas Correia <lucaaas@gmail.com>
3 # Maintainer: Nathan Owe <ndowens.aur at gmail.com>
4 pkgname=dcsharp
5 pkgver=0.11.1
6 pkgrel=4
7 pkgdesc="A file sharing client for the Direct Connect protocol"
8 arch=('i686' 'x86_64')
9 url="http://dcsharp.googlecode.com/"
10 license=('GPL')
11 depends=('sh')
12 makedepends=('scons')
13 source=("http://dcsharp.googlecode.com/files/${pkgname}-${pkgver}.tar.bz2" "fixes.diff" "trayicon.patch" "${pkgname}.desktop")
14 md5sums=('774aa9968acb3093e0139b0986129eba'
15          '144d385e88f7f77b0fb774b32d936e73'
16          'c9cd4d6100feb15168f69986370478f7'
17          '5aacd4829e27296a879a99f225204fa3')
19 build() {
20   cd ${srcdir}/${pkgname}-${pkgver}
21   patch -Np0 -i ../fixes.diff 
22   patch -Np0 -i ../trayicon.patch 
23   scons GNOME=false 
25 package() {
26         install -d ${pkgdir}/usr/share/applications
27         cd ${srcdir}/${pkgname}-${pkgver}
28   scons DESTDIR=${pkgdir} install
29   install -Dm644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop