diff options
author | root <root@rshg054.dnsready.net> | 2012-03-26 00:01:46 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-03-26 00:01:46 +0000 |
commit | f96a2208b6a0ba89c3d824514a3929f08d79f7bf (patch) | |
tree | 88c1033b9ec826ca6da1f1847685957bce496c62 /community/uget | |
parent | 891f44722456b693d99b397f7e332a9ed68a47a2 (diff) |
Mon Mar 26 00:01:45 UTC 2012
Diffstat (limited to 'community/uget')
-rw-r--r-- | community/uget/PKGBUILD | 33 | ||||
-rw-r--r-- | community/uget/uget.install | 11 |
2 files changed, 44 insertions, 0 deletions
diff --git a/community/uget/PKGBUILD b/community/uget/PKGBUILD new file mode 100644 index 000000000..01eb6df30 --- /dev/null +++ b/community/uget/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 68396 2012-03-24 05:49:50Z bgyorgy $ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> + +pkgname=uget +pkgver=1.8.0 +pkgrel=3 +pkgdesc="GTK+ download manager featuring download classification and HTML import" +arch=('i686' 'x86_64') +url="http://urlget.sourceforge.net/" +license=('GPL') +depends=('libnotify' 'gtk3' 'gstreamer0.10' 'curl' 'hicolor-icon-theme' 'xdg-utils') +makedepends=('intltool') +optdepends=('aria2: alternative backend') +install=$pkgname.install +source=(http://downloads.sourceforge.net/urlget/$pkgname-$pkgver.tar.gz) +md5sums=('2e0ad66ecdd0104b8fb27b29fdb44df1') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + # Fix aria2 arguments + sed -i 's/\"--enable-xml-rpc\"/"--enable-rpc"/' uget-gtk/UgSetting.c + + ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ + --disable-appindicator --with-gtk3 + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + + make DESTDIR="$pkgdir/" install +} diff --git a/community/uget/uget.install b/community/uget/uget.install new file mode 100644 index 000000000..2c455e952 --- /dev/null +++ b/community/uget/uget.install @@ -0,0 +1,11 @@ +post_install() { + xdg-icon-resource forceupdate +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} |