diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2016-08-08 18:44:05 +0200 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-08-09 11:52:35 +0000 |
commit | d91f869ab54a9d7f7187560def2d2342bea16bd1 (patch) | |
tree | 5638944d558372536f8e0aa78c1dcbfaf4275b56 /main | |
parent | e30204b46e26aa21c7136b9ac48e48f6fb52acdb (diff) | |
download | aports-d91f869ab54a9d7f7187560def2d2342bea16bd1.tar.bz2 aports-d91f869ab54a9d7f7187560def2d2342bea16bd1.tar.xz |
main/libtorrent: rename _builddir to builddir and unify code-style
Diffstat (limited to 'main')
-rw-r--r-- | main/libtorrent/APKBUILD | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/main/libtorrent/APKBUILD b/main/libtorrent/APKBUILD index 6b511ac6fb..7f5561f754 100644 --- a/main/libtorrent/APKBUILD +++ b/main/libtorrent/APKBUILD @@ -5,23 +5,18 @@ pkgname=libtorrent pkgver=0.13.6 pkgrel=0 -pkgdesc='BitTorrent library written in C++' -url='http://rakshasa.github.io/rtorrent/' -arch='all' -license='GPL' -makedepends='libsigc++-dev openssl-dev' +pkgdesc="BitTorrent library written in C++" +url="http://rakshasa.github.io/rtorrent/" +arch="all" +license="GPL" +makedepends="libsigc++-dev openssl-dev" subpackages="$pkgname-dev" -options='libtool' -source="http://rtorrent.net/downloads/${pkgname}-${pkgver}.tar.gz" - -_builddir="$srcdir/$pkgname-$pkgver" - -prepare() { - cd "$_builddir" -} +options="libtool" +source="http://rtorrent.net/downloads/$pkgname-$pkgver.tar.gz" +builddir="$srcdir/$pkgname-$pkgver" build() { - cd "$_builddir" + cd "$builddir" ./configure \ --build=$CBUILD \ @@ -34,7 +29,7 @@ build() { } package() { - cd "$_builddir" + cd "$builddir" make DESTDIR="$pkgdir" install || return 1 } |