summaryrefslogtreecommitdiff
path: root/community/linuxdcpp
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-17 23:02:42 +0000
committerroot <root@rshg047.dnsready.net>2011-06-17 23:02:42 +0000
commite96f6ac6e912185a495a99af2b0d51b73bd1d044 (patch)
treedbd018fc8e267c419876cd604cebed805287bf6c /community/linuxdcpp
parent1fcb176285908c33aca3b0f5cb703ec098e5440c (diff)
Fri Jun 17 23:02:42 UTC 2011
Diffstat (limited to 'community/linuxdcpp')
-rw-r--r--community/linuxdcpp/PKGBUILD30
-rw-r--r--community/linuxdcpp/linuxdcpp.install12
2 files changed, 42 insertions, 0 deletions
diff --git a/community/linuxdcpp/PKGBUILD b/community/linuxdcpp/PKGBUILD
new file mode 100644
index 000000000..fe546fdfc
--- /dev/null
+++ b/community/linuxdcpp/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Jelle van der waa <jelle@vdwaa.nl>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
+# Contributor: Andrea Scarpino <andrea@archlinux.org>
+# Contributor: Tom K <tom@archlinux.org>
+
+pkgname=linuxdcpp
+pkgver=1.1.0
+pkgrel=2
+pkgdesc="A Gtk+ Direct Connect client based on DC++."
+url="https://launchpad.net/linuxdcpp/"
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('openssl' 'glib2' 'libglade' 'bzip2' 'libnotify' 'hicolor-icon-theme')
+makedepends=('scons' 'boost')
+conflicts=('linuxdcpp-bzr')
+install=$pkgname.install
+source=("$url${pkgver%%.?}/$pkgver/+download/$pkgname-$pkgver.tar.bz2")
+md5sums=('037de708bdb1e5dd7ac6c359b0e2c1a0')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ scons PREFIX=/usr
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ scons install FAKE_ROOT="$pkgdir/"
+}
diff --git a/community/linuxdcpp/linuxdcpp.install b/community/linuxdcpp/linuxdcpp.install
new file mode 100644
index 000000000..bce670aff
--- /dev/null
+++ b/community/linuxdcpp/linuxdcpp.install
@@ -0,0 +1,12 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}