Last active
December 18, 2015 14:08
-
-
Save jasonwryan/5794623 to your computer and use it in GitHub Desktop.
PKGBUILD for rtorrent-colour on the Pi
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Based on rtorrent [community] | |
pkgname=rtorrent-color | |
_pkgname="rtorrent" | |
pkgver=0.9.3 | |
pkgrel=2 | |
pkgdesc='Ncurses BitTorrent client based on libTorrent' | |
url='http://libtorrent.rakshasa.no/' | |
license=('GPL') | |
arch=('any') | |
depends=('libtorrent=0.13.3' 'curl' 'xmlrpc-c' 'libsigc++') | |
source=("${url}/downloads/${_pkgname}-${pkgver}.tar.gz" | |
"${_pkgname}-${pkgver}_canvas_color.patch") | |
md5sums=('0bf2f262faa8c8c8d3b11ce286ea2bf2' | |
'9493e0065726ffbf9eb01f8e77fd6cd6') | |
build() { | |
cd "${srcdir}/${_pkgname}-${pkgver}" | |
patch -uNp1 -i "${SRCDEST}/${_pkgname}-${pkgver}_canvas_color.patch" | |
./configure \ | |
--prefix=/usr \ | |
--enable-debug \ | |
--with-xmlrpc-c \ | |
make | |
} | |
package() { | |
cd "${srcdir}/${_pkgname}-${pkgver}" | |
make DESTDIR="${pkgdir}" install | |
install -D doc/rtorrent.rc "${pkgdir}"/usr/share/doc/rtorrent/rtorrent.rc | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment