aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2016-08-08 18:41:32 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2016-08-09 11:52:35 +0000
commite30204b46e26aa21c7136b9ac48e48f6fb52acdb (patch)
tree177e6bb1bd563d213357209e763d40ddb3ba29b1 /main
parent308fefd5c90704aa1c996987bf53f320a02a7e0a (diff)
downloadaports-e30204b46e26aa21c7136b9ac48e48f6fb52acdb.tar.bz2
aports-e30204b46e26aa21c7136b9ac48e48f6fb52acdb.tar.xz
main/rtorrent: rename _builddir to builddir
Diffstat (limited to 'main')
-rw-r--r--main/rtorrent/APKBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/main/rtorrent/APKBUILD b/main/rtorrent/APKBUILD
index 6a3a796170..37eb1abfc7 100644
--- a/main/rtorrent/APKBUILD
+++ b/main/rtorrent/APKBUILD
@@ -12,11 +12,11 @@ license="GPL"
arch="all"
makedepends="libsigc++-dev libtorrent-dev curl-dev xmlrpc-c-dev ncurses-dev"
subpackages="$pkgname-doc"
-source="http://rtorrent.net/downloads/${pkgname}-${pkgver}.tar.gz"
+source="http://rtorrent.net/downloads/$pkgname-$pkgver.tar.gz"
+builddir="$srcdir/$pkgname-$pkgver"
-_builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -32,7 +32,7 @@ build() {
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
install -Dm644 doc/rtorrent.rc "$pkgdir"/usr/share/doc/rtorrent/rtorrent.rc
}