diff options
Diffstat (limited to 'unmaintained/transmission-remote-gtk/APKBUILD')
-rw-r--r-- | unmaintained/transmission-remote-gtk/APKBUILD | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/unmaintained/transmission-remote-gtk/APKBUILD b/unmaintained/transmission-remote-gtk/APKBUILD new file mode 100644 index 0000000000..e49066327e --- /dev/null +++ b/unmaintained/transmission-remote-gtk/APKBUILD @@ -0,0 +1,51 @@ +# 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="transmission-remote-gtk-aa4e0c7d836c.tar.gz::http://dev.alpinelinux.org/archive/transmission-remote-gtk/transmission-remote-gtk-$pkgver.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 +} + +md5sums="4dd705b127511019fa5d1fa8333b37f2 transmission-remote-gtk-aa4e0c7d836c.tar.gz" +sha256sums="50d04e8cde21a7bf16b50618c76ab5568a7caf0fefd006a15d768d35296c5b8f transmission-remote-gtk-aa4e0c7d836c.tar.gz" +sha512sums="cdf3bb0c3c3808e1d39772bab5f5f23deed39daed2772312a37127ccec022b8f50e1e62ee4d02da30afa1e38a9781f2c401ce7b91c73d5f6b3addec269a69f2f transmission-remote-gtk-aa4e0c7d836c.tar.gz" |