T.J. Townsend pushed to branch main at Arch Linux / Packaging / Packages / 
rtorrent


Commits:
b2298125 by T.J. Townsend at 2024-05-01T15:01:24-04:00
upgpkg: 0.9.8-5: build from git tag

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,15 @@
+pkgbase = rtorrent
+       pkgdesc = Ncurses BitTorrent client based on libTorrent
+       pkgver = 0.9.8
+       pkgrel = 5
+       url = https://rakshasa.github.io/rtorrent/
+       arch = x86_64
+       license = GPL
+       makedepends = git
+       depends = libtorrent=0.13.8
+       depends = curl
+       depends = xmlrpc-c
+       source = git+https://github.com/rakshasa/rtorrent.git#tag=v0.9.8
+       sha256sums = 
36c91dce07420840d429a649596776cc6fa669c476e2dee732c7c59736293027
+
+pkgname = rtorrent


=====================================
PKGBUILD
=====================================
@@ -1,27 +1,28 @@
-# Maintainer: Gaetan Bisson <bis...@archlinux.org>
 # Maintainer: Jaroslav Lichtblau <svetlemo...@archlinux.org>
+# Contributor: Gaetan Bisson <bis...@archlinux.org>
 # Contributor: Daenyth <Daenyth [at] gmail [dot] com>
 # Contributor: Jeff Mickey <j...@archlinux.org>
 # Contributor: sh__
 
 pkgname=rtorrent
 pkgver=0.9.8
-pkgrel=4
+pkgrel=5
 pkgdesc='Ncurses BitTorrent client based on libTorrent'
 url='https://rakshasa.github.io/rtorrent/'
 license=('GPL')
 arch=('x86_64')
+makedepends=('git')
 depends=("libtorrent=0.13.${pkgver##*.}" 'curl' 'xmlrpc-c')
-source=("https://github.com/rakshasa/rtorrent/releases/download/v${pkgver}/${pkgname}-${pkgver}.tar.gz";)
-sha256sums=('9edf0304bf142215d3bc85a0771446b6a72d0ad8218efbe184b41e4c9c7542af')
+source=("git+https://github.com/rakshasa/rtorrent.git#tag=v${pkgver}";)
+sha256sums=('36c91dce07420840d429a649596776cc6fa669c476e2dee732c7c59736293027')
 
 prepare() {
-       cd "${srcdir}/${pkgname}-${pkgver}"
+       cd ${pkgname}
        ./autogen.sh
 }
 
 build() {
-       cd "${srcdir}/${pkgname}-${pkgver}"
+       cd ${pkgname}
        export CXXFLAGS+=' -fno-strict-aliasing'
        ./configure \
                --prefix=/usr \
@@ -32,7 +33,7 @@ build() {
 }
 
 package() {
-       cd "${srcdir}/${pkgname}-${pkgver}"
+       cd ${pkgname}
        make DESTDIR="${pkgdir}" install
        install -D doc/rtorrent.rc 
"${pkgdir}"/usr/share/doc/rtorrent/rtorrent.rc
 }



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rtorrent/-/commit/b22981258e7de8bce6150a8ddb4ee3f2ddf9fccc

-- 
This project does not include diff previews in email notifications.
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/rtorrent/-/commit/b22981258e7de8bce6150a8ddb4ee3f2ddf9fccc
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to