summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a83a57e218d516532a961a198f8578dc2ba07b9e (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
# Maintainer: Arda Demir <ddmirarda@gmail.com>
pkgname=reqrypt-client-git
pkgver=r80.98bc77d
pkgrel=1
pkgdesc="ReQrypt is a tool for tunneling and encrypting web browser requests to hide them from local snooping and interception."
arch=('i686' 'x86_64')
url="https://reqrypt.org/reqrypt.html"
license=('GPL')
makedepends=('git' 'gcc' 'autoconf')
source=("$pkgname"::"git+https://github.com/basil00/reqrypt.git#branch=master")
md5sums=('SKIP')

build() {
        cd "$srcdir/$pkgname"
	autoconf
        ./configure
        make client
}

package() {
	cd "$srcdir/$pkgname"

        install -Dm755 "src/reqrypt" "$pkgdir/usr/bin/reqrypt"
	
	sed -i 's#/usr/sbin/reqrypt#/usr/bin/reqrypt#g' "src/tools/reqrypt.service"
	install -Dm644 "src/tools/reqrypt.service" "$pkgdir/usr/lib/systemd/system/reqrypt.service"
}