diff options
author | Chocobo1 | 2019-04-17 17:30:52 +0800 |
---|---|---|
committer | Chocobo1 | 2019-04-17 17:40:14 +0800 |
commit | 596b107869b823c210c18e7bc265e6d22e49acce (patch) | |
tree | 0ce220db7a357b4be09078feb4cc00e3129ec303 | |
parent | 3764860378317d1b5e4b4faefb4b30db3e283cf2 (diff) | |
download | aur-596b107869b823c210c18e7bc265e6d22e49acce.tar.gz |
upgpkg: libtorrent-rasterbar-1_1-git 1.1.12.r9.g533364a99-1
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 28 |
2 files changed, 12 insertions, 20 deletions
@@ -1,6 +1,6 @@ pkgbase = libtorrent-rasterbar-1_1-git pkgdesc = A feature complete C++ bittorrent library (git branch RC_1_1) - pkgver = 1.1.11.r2.gcdf66409a + pkgver = 1.1.12.r9.g533364a99 pkgrel = 1 url = https://www.libtorrent.org/ arch = i686 @@ -11,8 +11,6 @@ pkgbase = libtorrent-rasterbar-1_1-git makedepends = cmake makedepends = python makedepends = python-setuptools - makedepends = python2 - makedepends = python2-setuptools depends = boost-libs provides = libtorrent-rasterbar conflicts = libtorrent-rasterbar @@ -1,14 +1,14 @@ # Maintainer: Chocobo1 <chocobo1 AT archlinux DOT net> pkgname=libtorrent-rasterbar-1_1-git -pkgver=1.1.11.r2.gcdf66409a +pkgver=1.1.12.r9.g533364a99 pkgrel=1 pkgdesc="A feature complete C++ bittorrent library (git branch RC_1_1)" arch=('i686' 'x86_64') url="https://www.libtorrent.org/" license=('BSD') depends=('boost-libs') -makedepends=('git' 'boost' 'cmake' 'python' 'python-setuptools' 'python2' 'python2-setuptools') +makedepends=('git' 'boost' 'cmake' 'python' 'python-setuptools') provides=('libtorrent-rasterbar') conflicts=('libtorrent-rasterbar') options=('!strip') @@ -23,28 +23,22 @@ pkgver() { } build() { - cd "$srcdir" - - mkdir -p "py2" "py3" - _build 2 - _build 3 -} - -_build() ( - cd "py$1" + cd "libtorrent" + mkdir -p "_build" && cd "_build" cmake \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX="/usr" \ -DCMAKE_INSTALL_LIBDIR="lib" \ -Dpython-bindings=ON \ - -DPYTHON_EXECUTABLE="/usr/bin/python$1" \ - "../libtorrent" + -DPYTHON_EXECUTABLE="/usr/bin/python3" \ + "../" make -) +} package() { - make -C py2 DESTDIR="$pkgdir" install - make -C py3 DESTDIR="$pkgdir" install - install -Dm644 "libtorrent/COPYING" "$pkgdir/usr/share/licenses/$pkgname/COPYING" + cd "libtorrent" + + make -C "_build" DESTDIR="$pkgdir" install + install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/libtorrent-rasterbar/LICENSE" } |