aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2018-05-01 20:39:15 +0000
committerJakub Jirutka <jakub@jirutka.cz>2018-05-04 01:35:59 +0200
commit1253769cea8bd8f35cc23bef557e6bb8bf9f019e (patch)
treed844b41c1f9094f5ecf124933599b3bf34041898
parent0c41216e531c8660011ef9335bbeefa0d9c17459 (diff)
downloadaports-1253769cea8bd8f35cc23bef557e6bb8bf9f019e.tar.gz
aports-1253769cea8bd8f35cc23bef557e6bb8bf9f019e.tar.bz2
aports-1253769cea8bd8f35cc23bef557e6bb8bf9f019e.tar.xz
main/transmission: sort makedepends, fix license and code-style
-rw-r--r--main/transmission/APKBUILD19
1 files changed, 9 insertions, 10 deletions
diff --git a/main/transmission/APKBUILD b/main/transmission/APKBUILD
index 3f712363fd..8bf6b0bdf4 100644
--- a/main/transmission/APKBUILD
+++ b/main/transmission/APKBUILD
@@ -6,13 +6,12 @@ pkgdesc="Lightweight GTK BitTorrent client"
url="http://www.transmissionbt.com"
install="transmission-daemon.pre-install transmission-daemon.post-upgrade"
arch="all !s390x"
-license="MIT"
+license="GPL-2.0-or-later MIT"
depends=""
pkgusers="transmission"
pkggroups="transmission"
-makedepends="libressl-dev curl-dev gtk+3.0-dev intltool libevent-dev
- libnotify-dev dbus-glib-dev autoconf automake tar gconf-dev
- bsd-compat-headers"
+makedepends="autoconf automake bsd-compat-headers curl-dev dbus-glib-dev
+ gconf-dev gtk+3.0-dev intltool libevent-dev libnotify-dev libressl-dev tar"
source="https://github.com/transmission/$pkgname-releases/raw/master/$pkgname-$pkgver.tar.xz
transmission-daemon.initd
transmission-daemon.confd
@@ -22,7 +21,7 @@ options="!checkroot"
builddir="$srcdir/$pkgname-$pkgver"
build() {
- cd "$builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
@@ -34,7 +33,7 @@ build() {
--localstatedir=/var \
--enable-utp \
--with-inotify \
- --enable-cli \
+ --enable-cli
make
}
@@ -44,8 +43,8 @@ check() {
}
package() {
- cd "$builddir"
- make DESTDIR="$pkgdir" install
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
daemon() {
@@ -60,9 +59,9 @@ daemon() {
"$subpkgdir"/usr/bin/
mv "$pkgdir"/usr/share/transmission \
"$subpkgdir"/usr/share/
- install -D -m755 "$srcdir"/transmission-daemon.initd \
+ install -D -m755 "$srcdir"/transmission-daemon.initd \
"$subpkgdir"/etc/init.d/transmission-daemon
- install -D -m644 "$srcdir"/transmission-daemon.confd \
+ install -D -m644 "$srcdir"/transmission-daemon.confd \
"$subpkgdir"/etc/conf.d/transmission-daemon
}