[arch-commits] Commit in libtorrent-rasterbar/trunk (PKGBUILD)
Felix Yan
fyan at archlinux.org
Fri Jan 22 03:02:09 UTC 2016
Date: Friday, January 22, 2016 @ 04:02:08
Author: fyan
Revision: 258498
upgpkg: libtorrent-rasterbar 1:1.0.8-1
Modified:
libtorrent-rasterbar/trunk/PKGBUILD
----------+
PKGBUILD | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-01-21 23:28:04 UTC (rev 258497)
+++ PKGBUILD 2016-01-22 03:02:08 UTC (rev 258498)
@@ -4,8 +4,8 @@
# Contributor: Hugo Doria <hugo at archlinux.org>
pkgname=libtorrent-rasterbar
-pkgver=1.0.7
-pkgrel=4
+pkgver=1.0.8
+pkgrel=1
epoch=1
pkgdesc="A C++ BitTorrent library that aims to be a good alternative to all the other implementations around"
url="http://www.rasterbar.com/products/libtorrent/"
@@ -14,19 +14,12 @@
depends=('boost-libs' 'geoip' 'python2')
makedepends=('boost')
options=('!emptydirs')
-source=(https://github.com/arvidn/libtorrent/releases/download/libtorrent-${pkgver//./_}/$pkgname-$pkgver.tar.gz
- boost-1.60.patch)
-sha1sums=('db272a0c09a1fad721fe88e6e3942b9160bd0c61'
- 'aeef8300f91b2842776feac8ca3717f62539ac74')
+source=(https://github.com/arvidn/libtorrent/archive/libtorrent-${pkgver//./_}/$pkgname-$pkgver.tar.gz)
+sha1sums=('7b0cc26207e47d833f6e97b356ed33e7d7859184')
-prepare() {
- cd $pkgname-$pkgver
- # FS#47519
- patch -p1 -i ../boost-1.60.patch
-}
-
build() {
- cd $pkgname-$pkgver
+ cd libtorrent-libtorrent-${pkgver//./_}
+ ./autotool.sh
PYTHON=/usr/bin/python2 \
./configure \
--prefix=/usr \
@@ -37,7 +30,7 @@
}
package() {
- cd $pkgname-$pkgver
+ cd libtorrent-libtorrent-${pkgver//./_}
make DESTDIR="$pkgdir" install
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
More information about the arch-commits
mailing list