diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2015-06-04 00:40:55 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2015-06-04 00:40:55 +0200 |
commit | f43cbc55810722fca9a882603650b4fb8e2511f5 (patch) | |
tree | f257fc3fa81e66c0c8425fed2003c74f1b1d8bca /testing/transmission-remote-gtk | |
parent | d94d78b53cbd979f63144def6ba596a35dae27e3 (diff) | |
download | aports-f43cbc55810722fca9a882603650b4fb8e2511f5.tar.bz2 aports-f43cbc55810722fca9a882603650b4fb8e2511f5.tar.xz |
testing/transmission-remote-gtk: new aport
Diffstat (limited to 'testing/transmission-remote-gtk')
-rw-r--r-- | testing/transmission-remote-gtk/APKBUILD | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/testing/transmission-remote-gtk/APKBUILD b/testing/transmission-remote-gtk/APKBUILD new file mode 100644 index 0000000000..34d7762bfd --- /dev/null +++ b/testing/transmission-remote-gtk/APKBUILD @@ -0,0 +1,52 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: +pkgname=transmission-remote-gtk +pkgver=20140620 +pkgrel=0 +pkgdesc="GTK remote control for the Transmission BitTorrent client" +url="https://code.google.com/p/transmission-remote-gtk/" +arch="all" +license="GPLv2" +depends="" +depends_dev="gtk+3.0-dev json-glib-dev curl-dev" +makedepends="$depends_dev automake autoconf libtool" +install="" +subpackages="$pkgname-doc" +source="$pkgname-$pkgver.tar.gz::https://transmission-remote-gtk.googlecode.com/archive/aa4e0c7d836cfcc10d8effd10225abb050343fc8.tar.gz" + +_builddir=$srcdir/transmission-remote-gtk-aa4e0c7d836c + +prepare() { + local i + cd "$_builddir" + for i in $source; do + case $i in + *.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;; + esac + done +} + +build() { + cd "$_builddir" + ./autogen.sh || return 1 + ./configure \ + --build=$CBUILD \ + --host=$CHOST \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --infodir=/usr/share/info \ + --localstatedir=/var \ + || return 1 + make || return 1 +} + +package() { + cd "$_builddir" + make DESTDIR="$pkgdir" install || return 1 + rm -f "$pkgdir"/usr/lib/*.la +} + +md5sums="4dd705b127511019fa5d1fa8333b37f2 transmission-remote-gtk-20140620.tar.gz" +sha256sums="50d04e8cde21a7bf16b50618c76ab5568a7caf0fefd006a15d768d35296c5b8f transmission-remote-gtk-20140620.tar.gz" +sha512sums="cdf3bb0c3c3808e1d39772bab5f5f23deed39daed2772312a37127ccec022b8f50e1e62ee4d02da30afa1e38a9781f2c401ce7b91c73d5f6b3addec269a69f2f transmission-remote-gtk-20140620.tar.gz" |