blob: 6da2217e8ddf67c3e1e1a0476cbd18e7e128085d (
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
|
# Maintainer: OpenSorcerer <alex at opensourcery dot eu>
pkgname=airvpn-suite-beta-bin
_pkgname=AirVPN-Suite
pkgver=2.0.0
_pkgver=2.0
_prstage=beta
_Prstage=Beta
_prver=1
pkgrel=3
pkgdesc="AirVPN client software collection - prebuilt beta"
arch=('x86_64' 'armv7h' 'aarch64')
url="https://airvpn.org/linux/suite"
_dlurl="https://eddie.website/repository"
license=('GPL-3.0-only')
provides=('hummingbird' 'hummingbird-bin' 'airvpn-suite' 'airvpn-suite-bin')
conflicts=('hummingbird' 'hummingbird-bin' 'airvpn-suite' 'airvpn-suite-bin')
depends=('glibc' 'gcc-libs' 'dbus' 'openssl' 'libxml2')
makedepends=('curl')
source=("$_dlurl/$_pkgname/$_pkgver-$_Prstage$_prver/$_pkgname-$arch-$pkgver-$_prstage-$_prver.tar.gz"
"airvpn-suite.sysusers")
sha512sums=(`curl -sLo - "$_dlurl/$_pkgname/$_pkgver-$_Prstage$_prver/$_pkgname-$arch-$pkgver-$_prstage-$_prver.tar.gz.sha512"|cut -f1 -d " "`
'bae4fad4ef209f91f2473101713f0d58db7d4db9eb6b706508527422cf029aa631a7d877eb88d80bcb6c14ecf562f2cc88816200d83a8288cb7b3619261ba72c')
backup=('etc/airvpn/bluetit.rc')
install="$pkgname.install"
changelog="Changelog-Suite.txt"
package() {
cd "$srcdir/$_pkgname"
# place binaries
install -Dm755 bin/bluetit "$pkgdir/usr/bin/bluetit"
install -Dm755 bin/goldcrest "$pkgdir/usr/bin/goldcrest"
install -Dm755 bin/hummingbird "$pkgdir/usr/bin/hummingbird"
install -Dm4755 -g airvpn bin/cuckoo "$pkgdir/usr/bin/cuckoo"
# place documentation
install -Dm755 README.md "$pkgdir/usr/share/doc/$pkgname/README.md"
# place license
install -Dm755 LICENSE.md "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md"
# place configuration
install -Dm600 -t "$pkgdir/etc/airvpn/" etc/airvpn/*
# place D-Bus config
install -Dm644 -t "$pkgdir/etc/dbus-1/system.d/" etc/dbus-1/system.d/*
# place Systemd files
install -Dm644 etc/systemd/system/bluetit.service "$pkgdir/usr/lib/systemd/system/bluetit.service"
install -Dm644 ../airvpn-suite.sysusers "$pkgdir/usr/lib/sysusers.d/airvpn-suite.conf"
}
|