X-Original-To: alpine-devel@lists.alpinelinux.org Delivered-To: alpine-devel@mail.alpinelinux.org Received: from mail-wg0-f51.google.com (mail-wg0-f51.google.com [74.125.82.51]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by mail.alpinelinux.org (Postfix) with ESMTPS id 50677DC044F for ; Wed, 17 Dec 2014 17:05:38 +0000 (UTC) Received: by mail-wg0-f51.google.com with SMTP id x12so20699414wgg.38 for ; Wed, 17 Dec 2014 09:05:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:subject:date:message-id; bh=zb2arKEhXloUsfCXpQ+M7VBncRpLundyAeLWIWGDDkM=; b=p5dtuMOqX877VYEDVEwoH6C/qiQRM2uwTS2gbPPzH8f61WcpZ9qSDo/1kmyGzUxlhl HqPTunrMe6xphJ9FjNeqROsEcfCPUCTALJ7sOAS2QS3BfmFEV0PWCchQm1wxjynmAqnb t+ViuAEGAYC7ADcDkApzcbqwO82yYZEO+X8RnmRCPg3voiQrDljR5KUT0zycjGoQIbQ0 GM9U+9A5/A/bzQz72nsah5fo8n9OcVMOtz5atSHbbsEuViljtM1gfKUQrZT9dk+zPGpR fR/O+lvA/1mEzOS10jNZu3LbQT06KHIDJIe+O40KWBiv1/c2dRb4VA0jrmxqioC84/JM RKAA== X-Received: by 10.194.61.18 with SMTP id l18mr74778532wjr.42.1418835937044; Wed, 17 Dec 2014 09:05:37 -0800 (PST) Received: from alpine.my.domain (84.127.141.73.dyn.user.ono.com. [84.127.141.73]) by mx.google.com with ESMTPSA id wz5sm5799987wjc.29.2014.12.17.09.05.36 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 17 Dec 2014 09:05:36 -0800 (PST) From: AmatCoder To: alpine-devel@lists.alpinelinux.org Subject: [alpine-devel] [PATCH] testing/deluge: new aport Date: Wed, 17 Dec 2014 17:01:00 +0000 Message-Id: <1418835660-4195-1-git-send-email-amatcoder@gmail.com> X-Mailer: git-send-email 2.2.0 X-Mailinglist: alpine-devel Precedence: list List-Id: Alpine Development List-Unsubscribe: List-Post: List-Help: List-Subscribe: This package might be splitted in the future. --- testing/deluge/APKBUILD | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) create mode 100644 testing/deluge/APKBUILD diff --git a/testing/deluge/APKBUILD b/testing/deluge/APKBUILD new file mode 100644 index 0000000..56cc2eb --- /dev/null +++ b/testing/deluge/APKBUILD @@ -0,0 +1,49 @@ +# Contributor: August Klein +# Maintainer: August Klein +pkgname=deluge +pkgver=1.3.11 +pkgrel=0 +pkgdesc="A lightweight, Free Software, cross-platform BitTorrent client" +url="http://deluge-torrent.org" +arch="noarch" +license="GPL3" +depends="libtorrent-rasterbar librsvg py-cffi py-chardet py-cryptography + py-gtk py-mako py-openssl py-setuptools py-six py-twisted py-xdg + xdg-utils" +depends_dev="" +makedepends="intltool librsvg-dev py-gtk-dev py-mako py-setuptools" +install="" +subpackages="$pkgname-lang $pkgname-doc" +source="http://download.deluge-torrent.org/source/$pkgname-$pkgver.tar.bz2" + +_builddir="$srcdir"/$pkgname-$pkgver +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + python setup.py build || return 1 +} + +package() { + cd "$_builddir" + python setup.py install --prefix=/usr --root="$pkgdir" || return 1 +} + +lang() { + mkdir -p "$subpkgdir"/usr/lib/python2.7/site-packages/deluge/i18n || return1 + + mv "$pkgdir"/usr/lib/python2.7/site-packages/deluge/i18n/* \ + "$subpkgdir"/usr/lib/python2.7/site-packages/deluge/i18n/ || return 1 +} + +md5sums="c1ce7ad2ba2893eb76f3e587b81e212b deluge-1.3.11.tar.bz2" +sha256sums="83e1f41b8a2a6e7ba86a54474692d4686db509b75441173d9603447f9e0ec898 deluge-1.3.11.tar.bz2" +sha512sums="d56c03f3c687cdee65f8d7f26728a46cae1fd665c49313bd2b91243d26df0f5b2292048fd542333cbc538383eb53cd961bc3427230f9081317268735df367272 deluge-1.3.11.tar.bz2" -- 2.2.0 --- Unsubscribe: alpine-devel+unsubscribe@lists.alpinelinux.org Help: alpine-devel+help@lists.alpinelinux.org ---