blob: 77c52c4614e707b0baf7d6e3f8b89d622a82979a (
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
|
# Maintainer: Yuval Adam <yuv dot adm at gmail dot com> PGP-Key: CC2115C12D99D2F0
pkgname=pfclient
pkgver=4.1.1
pkgrel=1
pkgdesc="Planefinder.net sharing client"
arch=('any')
url="https://planefinder.net/sharing/client"
license=(unknown)
optdepends=(
"lib32-glibc: necessary for 64-bit systems"
"lib32-gcc-libs: necessary for 64-bit systems"
)
install=pfclient.install
source=('pfclient.service')
sha256sums=('9346331884c38fcb669f1f40bd9461eeb7ed729f9f4600b3b47155e69536ddf5')
source_i686=("http://client.planefinder.net/pfclient_${pkgver}_i386.tar.gz")
sha256sums_i686=('8ed6740074eb0f0616f94919626f4056cf20bffe3046b49acc7c0a9ee9d98b30')
source_x86_64=("http://client.planefinder.net/pfclient_${pkgver}_i386.tar.gz")
sha256sums_x86_64=('8ed6740074eb0f0616f94919626f4056cf20bffe3046b49acc7c0a9ee9d98b30')
source_armv6h=("http://client.planefinder.net/pfclient_${pkgver}_armhf.tar.gz")
sha256sums_armv6h=('f262205d2aff125870a070312e44190786ac043fd2d3eba3bf7d2a3bb38f8928')
source_armv7h=("http://client.planefinder.net/pfclient_${pkgver}_armhf.tar.gz")
sha256sums_armv7h=('f262205d2aff125870a070312e44190786ac043fd2d3eba3bf7d2a3bb38f8928')
prepare() {
if [[ $CARCH == 'i686' || $CARCH == 'x86_64' ]]; then
__pfarch="i386"
else
__pfarch="armhf"
fi
cd "$srcdir"
tar -xzf pfclient_${pkgver}_$__pfarch.tar.gz
}
package() {
install -Dm755 "${srcdir}/pfclient" "${pkgdir}/usr/bin/pfclient"
install -Dm644 "${srcdir}/pfclient.service" "${pkgdir}/usr/lib/systemd/system/pfclient.service"
install -Dm644 /dev/null "${pkgdir}/etc/pfclient/pfclient-config.json"
}
# vim:set ts=2 sw=2 et:
|