blob: e49066327ebebbfc58ef7e35e538d0add69b4e13 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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"
|